time2string
v0.3.0
Published
Libs
Downloads
5
Readme
time-string
des
time2string
doc
- time2string(new Date(), "yyyy-MM-dd hh:mm:ss.S")==> 2006-07-02 08:09:04.423
- time2string(new Date(), "yyyy-MM-dd E HH:mm:ss") ==> 2009-03-10 二 20:09:04
- time2string(new Date(), "yyyy-MM-dd EE hh:mm:ss") ==> 2009-03-10 周二 08:09:04
- time2string(new Date(), "yyyy-MM-dd EEE hh:mm:ss") ==> 2009-03-10 星期二 08:09:04
- time2string(new Date(), "yyyy-M-d h:m:s.S") ==> 2006-7-2 8:9:4.18