Date to Days

Roger.E.Eller at sealedair.com Roger.E.Eller at sealedair.com
Wed Aug 11 16:50:03 EDT 2010


Francis Nugent Dixon wrote:
> Has any kind soul (not on holiday) got a script
> for converting a date to a number of days
> (any recent base such as 1900 will suffice).

You will have to do some math to acheive days, but here is a start.

>From the Rev Dictionary:
convert the date && the time to seconds

Note:  The range of dates that the convert command can handle is limited by
the operating system's date routines. In particular, Windows systems are
limited to dates after 1/1/1970.





More information about the Use-livecode mailing list