Date Helpers
Returns a string as dd/mm/yyyy, defaulted to ––/––/––––
Returns a string as ss:mm:hh, defaulted to 00:00:00
Returns a string as ss:mm:hh dd/mm/yyyy, defaulted to 00:00:00 ––/––/––––
Returns a padded Int representation of the month
Jan -> "01"
Feb -> "02"
Mar -> "03"
Apr -> "04"
May -> "05"
Jun -> "06"
Jul -> "07"
Aug -> "08"
Sep -> "09"
Oct -> "10"
Nov -> "11"
Dec -> "12"Orders 2 dates. This comes in handy with List.sortWith:
List.sortWith Date.order [date1, date2, date3]Encode a Date
Encode a Maybe Date
Returns a string as dd/mm/yyyy