1.0.0 • Published 6 years ago
datesubjoin v1.0.0
tarnsDate 日期转换插件
format 日期格式化函数
format(date,fmt='YYYY-MM-DD HH:mm:ss')
格式化目前仅支持 Y M D H h m s S q E
compare 时间比较
compare(date1,date2,fmt='DD hh:mm:ss',flag=true);
flag: 当date1小于date2时, flag 为true 返回0 否则返回date2-date1的差值 默认为true
格式化目前仅支持 D H h m s
1.0.0
6 years ago