(begin-day-of-month-in-millis)
获取本月开始时间戳in millis
获取本月开始时间戳in millis
(begin-day-of-week-in-millis)
获取本周开始时间戳in millis
获取本周开始时间戳in millis
(calc-years epoch-second)
计算某个时间戳到当前时间的年数,不足整年部分也算一年。
计算某个时间戳到当前时间的年数,不足整年部分也算一年。
(end-day-of-month-in-millis)
获取本月结束时间戳in millis
获取本月结束时间戳in millis
(end-day-of-week-in-millis)
获取本周结束时间戳in millis
获取本周结束时间戳in millis
(now-yyyyMMddHHmm)
(now-yyyyMMddHHmmss)
(to-timestamp year month day & [hour minute second])
(yyyyMMdd->begin&end-month & [month-inside-day])
获取指定日期/当日的上月、本月、下月的开始时间戳 month-inside-day格式:yyyyMMdd 例如:20170921 create by yan 2017/09/21 11:15
获取指定日期/当日的上月、本月、下月的开始时间戳 month-inside-day格式:yyyyMMdd 例如:20170921 create by yan 2017/09/21 11:15
(yyyyMMdd->timestamp day-string)
(yyyyMMdd->timestamp day-string hour-string)
(yyyyMMdd->timestamp day-string hour-string minute-string)
(yyyyMMdd->timestamp day-string hour-string minute-string second-string)
默认日期格式为'yyyyMMdd'转换成时间戳 [^String date-string ^String format]可选日期格式转换成时间戳
默认日期格式为'yyyyMMdd'转换成时间戳 [^String date-string ^String format]可选日期格式转换成时间戳
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close