2012年10月18日 星期四

Time to String? Date Format Patterns?

To convert time to string, we always use formats like "yyyy-MM-dd HH:mm:ss", but sometimes we want something more like "18 Oct 2012" or "Wed 12:34:56", then the reference page can help you.
Date Format Patterns

With the table in the page, you should be good enough to do more tricks on date formats.

沒有留言:

張貼留言