How to get RFC822-formated date from Calendar
in OCaml
let rfc822_of_calendar c =
CalendarLib.Printer.Calendar.sprint "%a, %d %b %Y %T %z" c
main » en » howto-get-rfc822-formated-date-from-calendar-in-ocaml | source |
Calendar
in OCamllet rfc822_of_calendar c =
CalendarLib.Printer.Calendar.sprint "%a, %d %b %Y %T %z" c