(->instant datetime)Convert any datetime to an instant.
Convert any datetime to an instant.
(->local-date datetime)Convert any datetime to a local date.
Convert any datetime to a local date.
(->local-date-time datetime)Convert any datetime to a local datetime.
Convert any datetime to a local datetime.
(anytime->milliseconds str-or-datetime)(anytime->milliseconds str-or-datetime timezone)Converts any time unit type to milliseconds.
Converts any time unit type to milliseconds.
(convert-to datetime datetime-type)Convert time to different type as specified by datetime-type.
Convert time to different type as specified by `datetime-type`.
(down-to-nearest interval chrono-unit)(down-to-nearest interval chrono-unit datetime)(milliseconds->anytime millis datetime-type)(milliseconds->anytime millis datetime-type timezone)Convert milliseconds to any time unit as specified by datetime-type.
Convert milliseconds to any time unit as specified by `datetime-type`.
(milliseconds-since-epoch->year millis)(milliseconds-since-epoch->year millis timezone)(string->time str)Given an identifiable time, returns the correct datetime object. Optionally, you can specify a target type to also convert to a different type in one step.
TODO: How do we define what an 'identifiable' string means?
Given an identifiable time, returns the correct datetime object. Optionally, you can specify a target type to also convert to a different type in one step. TODO: How do we define what an 'identifiable' string means?
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |