(date->str dt)
DateTime formatted to year-month-day ie 2016-08-03
DateTime formatted to year-month-day ie 2016-08-03
Answers with a seq of the constitutents of the date time. [year month day hour minute second ms]
Answers with a seq of the constitutents of the date time. [year month day hour minute second ms]
(interval->duration-components i)
(interval->duration-components t1 t2)
Given an interval returns a 5 tuple of integers representing [days hours minutes secs millis]
Given an interval returns a 5 tuple of integers representing [days hours minutes secs millis]
(interval->humanized-string i)
(interval->humanized-string t1 t2)
Given an interval returns a 5 tuple of integers representing [days hours minutes secs millis]
Given an interval returns a 5 tuple of integers representing [days hours minutes secs millis]
(with-zone-retain-fields date timezone)
Gets the equivalent UTC DateTime if the timezone were changed to timezone.
Use to turn 2017-12-11T18:00:00Z and you want to
UTC equivalent. date
is DateTime and timezone
is DateTimeZone.
Gets the equivalent UTC DateTime if the timezone were changed to timezone. Use to turn 2017-12-11T18:00:00Z and you want to UTC equivalent. `date` is DateTime and `timezone` is DateTimeZone.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close