Thanks everyone, I got the info I need.

-Noah

At 04:15 PM 8/14/2001 -0400, Ronald J Kimball wrote:
>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




~~~~~~~~~~~~~~~~~~~~~~
Noah Hoffman
~~~~~~~~~~~~~~~~~~~~~~
Build Engineer
Dreamweaver Team
Macromedia
Fax: (650) 481-4790
101 Redwood Shores Parkway
Redwood City CA 94065

Reply via email to