misaki.util.date documentation

date->string

(date->string date)
Convert org.joda.time.DateTime to String

(date->string (clj-time.core/now))
;=> "01 Jan 2012"

date->xml-schema

(date->xml-schema date)
Convert org.joda.time.DateTime to XML Schema.

(date->xml-scheme (clj-time.core/now))
;=> "2012-01-01T01:01:01"

day

(day date)
Get day from org.joda.time.DateTime

month

(month date)
Get month from org.joda.time.DateTime

now

(now)
Get current date

year

(year date)
Get year from org.joda.time.DateTime