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.
Cheers,
Sarah
On Wednesday, July 17, 2002, at 12:42 PM, Yves Copp� wrote:
> Hello,
>
> 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.
> --
> Salutations.
>
> Yves COPPE
>
> Email : [EMAIL PROTECTED]
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution