I'm pleased to announce GregorianDate, which is a pure Objective CAML library for handling calculations on the Gregorian calendar. http://www.merjis.com/developers/gregorian_date This is version 1.0.0, which is mature, stable and widely used (by me). The library is released under the GNU LGPL with OCaml linking exception. Example: $ ocaml -I +gregoriandate Objective Caml version 3.08.1 # #load "gregorianDate.cma";; # open GregorianDate;; # days_in_year 2004;; - : int = 366 # business_of_standard (2004, 10, 24);; - : (int * int) * int = ((2004, 43), 7) # easter_sunday 2005;; - : int * int * int = (2005, 3, 27) # day_of_week (2004, 10, 24);; - : int = 7 # nth_weekday_of_month (2004, 10) 7 4;; - : int * int * int = (2004, 10, 24) # add_delta_days (2004, 10, 24) 100;; - : int * int * int = (2005, 2, 1) etc. Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ >>> http://www.team-notepad.com/ - collaboration tools for teams <<< Merjis Ltd. http://www.merjis.com/ - improving website return on investment Write Apache modules in OCaml - http://www.merjis.com/developers/mod_caml