Look up the Time::Local module.  It should be able to do what you need.

-----Original Message-----
From: Alan Hogue [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 12:39 PM
To: [EMAIL PROTECTED]
Subject: Function for converting a specific date to number of seconds
since 01/01/1970?


Hi,

I need to know the easiest way to translate a date (not today's date)
into the number of seconds since 01/01/1970. I realize there is at
least one function that turns the current date/time into this number,
but I need to find, for instance, everything with a date/time stamp
between 01/01/1998 and 01/01/2001. How is this done?

Thanks,
Alan

=====
_____________________________________________________

"Hello. I'm Marc Bolan. I'm a superstar. You'd better believe it"
_____________________________________________________

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to