Version française
Home     About     Download     Resources     Contact us    
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: Antoine Schweitzer-Chaput <Antoine.Schweitzer-Chaput@s...>
Subject: Re: [Caml-list] date manipulation library
> (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 
> format)).

this is not good, because of time savings, bisextiles years, and so
on...
I know this is not a constructive answer, sorry..., but it is a problem
I've had with programs I wrote in others languages. It showed me that
one should not use timestamps but only predefined date constructors,
however I don't know how they work in Caml...

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners