What perl module converts unix time to regular time and date

2002-08-26 Thread FLAHERTY, JIM-CONT

What perl module converts unix time to regular time and date ?
 
Thanks 
Jim



Re: What perl module converts unix time to regular time and date

2002-08-26 Thread Felix Geerinckx

on Mon, 26 Aug 2002 12:43:17 GMT, [EMAIL PROTECTED] (Jim-Cont 
Flaherty) wrote:

 What perl module converts unix time to regular time and date ?

If you mean with 'unix time' seconds since epoch, and with 'regular 
time' year, month, day, hour, min and sec, you don't need a module.

See 

perldoc -f localtime
perldoc -f gmtime

for these built-in functions.

-- 
felix

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




Re: What perl module converts unix time to regular time and date

2002-08-26 Thread drieux


On Monday, August 26, 2002, at 05:43 , FLAHERTY, JIM-CONT wrote:

 What perl module converts unix time to regular time and date ?

 Thanks
 Jim

perldoc -f localtime

vladimir: 76:] perl -e 'my @stuff=localtime ; print @stuff\n;'
17 52 8 26 7 102 1 237 1
vladimir: 77:]perl -e '$thing=localtime ; print $thing\n;'
Mon Aug 26 08:52:52 2002
vladimir: 79:]

or were you interestin in more of the

perldoc Time::Local

ciao
drieux

---


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