Skip to content

Instantly share code, notes, and snippets.

@peterli888
Last active December 15, 2017 13:37
Show Gist options
  • Save peterli888/277aa5a26b704c830f6d2e9c5cde3a15 to your computer and use it in GitHub Desktop.
Save peterli888/277aa5a26b704c830f6d2e9c5cde3a15 to your computer and use it in GitHub Desktop.
toUTCString=toGMTString= Thu, 12 Jan 2017 13:18:37 GMT
toLocaleString=toString= Thu Jan 12 2017 21:21:21 GMT+0800 (CST)
valueOf=1484227515076
toTimeString=21:25:15 GMT+0800 (CST)
toDateString=Thu Jan 12 2017
toJSON=toISOString=2017-01-12T13:30:24.025Z
ISO 8601 格式的字符串: YYYY-MM-DDTHH:mm:ss.sssZ。时区总是UTC(协调世界时),加一个后缀“Z”标识。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment