Liking cljdoc? Tell your friends :D

clodash.timestamp

Functions for creating and formatting timestamps (Longs)

Functions for creating and formatting timestamps (Longs)
raw docstring

->date-strclj

(->date-str x)

->sql-timeclj

(->sql-time timestamp)

->sql-timestampclj

(->sql-timestamp ts)

Creating a UTC string and parsing it adjusts the timezone properly. (Timestamp. millis) alters the millis into the local timezone

Creating a UTC string and parsing it adjusts the timezone
properly. (Timestamp. millis) alters the millis into the local timezone
raw docstring

->strclj

(->str x)
(->str x date-format)
(->str x date-format tz-or-tz-str)

->timestampclj

(->timestamp x)
(->timestamp s format-string)
(->timestamp s format-string tz-or-tz-str)

->timestamp-at-day-endclj

(->timestamp-at-day-end)
(->timestamp-at-day-end t)

->timestamp-at-day-startclj

(->timestamp-at-day-start)
(->timestamp-at-day-start t)

addclj

(add timestamp unit val)

american-date-formatclj


assert-valid-unitclj

(assert-valid-unit unit)

day-in-msclj


decrementclj

(decrement timestamp unit)

hour-in-msclj


incrementclj

(increment timestamp unit)

minute-in-msclj


nowclj

(now)

now-sclj

(now-s)

ordered-unitsclj


overlap?clj

(overlap? [a0 a1] [b0 b1])

second-in-msclj


simple-date-formatclj

(simple-date-format format-string)
(simple-date-format format-string tz-or-tz-str)

subtractclj

(subtract timestamp unit val)

timestamp-at-day-endclj

(timestamp-at-day-end)
(timestamp-at-day-end ts)

timestamp-rangesclj

(timestamp-ranges start-date end-date interval)

truncateclj

(truncate timestamp unit)

unit->calendar-unitclj


utc-tzclj


week-in-msclj


year-in-msclj


yyyy-mm-ddclj


yyyy-mm-dd-hh-mmclj


yyyy-mm-dd-hh-mm-ssclj


yyyy-mm-dd-hh-mm-ss-SSSclj


yyyy-mm-dd-hh-mm-ss?clj

(yyyy-mm-dd-hh-mm-ss? x)

yyyy-mm-dd-hh-mm?clj

(yyyy-mm-dd-hh-mm? x)

yyyy-mm-dd?clj

(yyyy-mm-dd? x)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close