sarahr at genesearch.com.au
Tue Jul 16 23:30:00 EDT 2002
If you convert both dates to seconds, and divide the difference by 86400
(the number of seconds in a day), then you will get the number of days
between the dates. When you convert, specify what format you are
starting with e.g.
convert from short system date to seconds
This will allow for localised date formats.
On Wednesday, July 17, 2002, at 12:42 PM, Yves Coppé wrote:
> Can someone help me to write a function that returns the difference of
> days between two dates ?
> Please don't forget the dateformat can be different from a system to
> another (U.S,French,German,...)
> Thank you.
> Yves COPPE
> Email : yvescoppe at skynet.be
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode