(construct-dt years
months
days
hours
minutes
seconds
nanoseconds
offset-sign
offset-hours
offset-minutes)
(dt->iso-ts dt)
Creates a DateTime object from ISO timestamp.
Creates a DateTime object from ISO timestamp.
(dt->rfc7231-ts dt)
Returns the DateTime as an HTTP date
(RFC 7231) string.
Returns the DateTime as an `HTTP date` (RFC 7231) string.
(dt<-epoch epoch)
Creates a DateTime object from a (long) unix timestamp
Creates a DateTime object from a (long) unix timestamp
(epoch<-dt dt)
Creates a (long) unix timestamp from DateTime object
Creates a (long) unix timestamp from DateTime object
To read an instant as an org.joda.time.DateTime, bind data-readers to a map with this var as the value for the 'inst key.
To read an instant as an org.joda.time.DateTime, bind *data-readers* to a map with this var as the value for the 'inst key.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close