Time Helpers
Returns a string as hh:mm:ss
Returns a string as dd/mm/yyyy hh:mm:ss
Returns a string as dd/mm/yyyy. Defaults to --/--/----
Returns a string as hh:mm:ss. Defaults to 00:00:00
Returns a string as hh:mm:ss dd/mm/yyyy. Defaults to --/--/---- 00:00:00
Returns the Int representation of a month
Returns the String representation of a month
Returns the Month based on it's number
Add months to a posix
Clamp a posix
Clamp between maybe posix
Orders 2 dates. This comes in handy with List.sortWith:
List.sortWith Time.order [ date1, date2, date3 ]Encode a Time
Encode a Maybe Time
Returns a string as dd/mm/yyyy