>Stefan,
>
>You can create your own function that would take into account date change and use it instead of SECONDS(). For example
>? mySECONDS(), SECONDS()
>...
>FUNCTION mySeconds(tdBase)
>LOCAL ldBase
>ldBase = IIF(EMPTY(tdBase), {^2003/01/01}, tdBase)
>RETURN (DATE() - ldBase) * 86640 + SECONDS()
Nit-pick: there are 86,400 seconds in a day ;-)
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up