(current-duration start)
Return the current duration from start
to now.
Return the current duration from `start` to now.
(current-duration-str start)
Return the formatted current duration from start
to now.
Return the formatted current duration from `start` to now.
(date-hour-path date-time)
Returns the date and hour as a path fragment.
Returns the date and hour as a path fragment.
(date-time? arg)
Returns true if arg is a DateTime object, otherwise false.
Returns true if arg is a DateTime object, otherwise false.
(format-date object & [formatter])
Format the object with the default or the given date formatter.
Format the object with the default or the given date formatter.
(format-day-of-week time & {:keys [short]})
Format the day of week.
Format the day of week.
(format-interval interval)
Format the interval using the default period formatter.
Format the interval using the default period formatter.
(format-time object & [formatter])
Format the object with the default or the given time formatter.
Format the object with the default or the given time formatter.
To read an instant as an DateTime, bind data-readers to a map with this var as the value for the 'inst key.
To read an instant as an DateTime, bind *data-readers* to a map with this var as the value for the 'inst key.
(sql-timestamp object)
Convert the object to a java.sql.Timestamp.
Convert the object to a java.sql.Timestamp.
(sql-timestamp-now)
Returns the current time as java.sql.Timestamp.
Returns the current time as java.sql.Timestamp.
(sql-timestamp? arg)
Returns true if arg is a java.sql.Timestamp, otherwise false.
Returns true if arg is a java.sql.Timestamp, otherwise false.
(to-ms this)
Returns the time in milliseconds.
Returns the time in milliseconds.
(to-calendar object)
Convert the object to a java.util.Calendar.
Convert the object to a java.util.Calendar.
(to-date object)
Convert the object to a java.sql.Date.
Convert the object to a java.sql.Date.
(to-date-time object)
Convert the object to a org.joda.time.DateTime.
Convert the object to a org.joda.time.DateTime.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close