Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] date manipulation library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alan Schmitt <alan.schmitt@p...>
Subject: [Caml-list] date manipulation library

I am writing an application that needs to manipulate dates. More 
precisely, it needs a function that, given a date and a duration (12 
days, 2 weeks, 3 months ...) returns the date at the end of the 
duration. Is there a library providing such a thing ? (I have looked at 
NetDate in ocamlnet, but I cannot find a way to do it that is not a hack 
(convert the date to float, add the number of seconds corresponding to 
the duration (tricky in the case of months), and convert back to date 

Alan Schmitt

The hacker: someone who figured things out and made something cool happen.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: