On Tue, Aug 14, 2001 at 12:54:10PM -0700, Noah Hoffman wrote:
> I've got a cgi running on an NT box that's communicating with Mac OS 9.1
> and Win 2000 machines. Part of the process involves getting the time and
> storing it as epoch seconds to be used later in some time math. The
> problem is that the Win machines give me a time like: TIME:997818153 and
> the Mac returns a time like: TIME:3080637414.
>
> Does anyone know an easy way to covert the Mac time to a similar Win
> number? Is it as simple as the different platforms use a different date as
> the starting point and all I have to do is subtract X from the Mac time?
It might be better to pass the time between the different platforms as
2001-08-14 04:14:03 and use Time::Local to convert back to the platform's
seconds since the epoch.
Ronald