Hi Debra,
There are 3 methods to convert to and from Unix Epoch dates.
p_web.ClarionToUnixDate (date,time)
so the epoch date of the current date/time on the server is
p_web.ClarionToUnixDate (today(),clock())
Returns a long in "unix epoch" format. Pretty much works for dates from 1970 to 2038.
The reverse are;
p_web.UnixToClarionDate(epoch)
and
p_web.UnixToClarionTime(epoch)
Cheers
Bruce