Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: epoch time

by logie17 (Friar)
on Jan 31, 2007 at 16:22 UTC ( #597552=note: print w/replies, xml ) Need Help??


in reply to epoch time

Use Time::Local. For example:
#! /usr/local/bin/perl use Time::Local; my $timestring = timelocal(0,0,0,31,0,2007); print $timestring,"\n";

Outputs:
1170230400

Thanks,

s;;5776?12321=10609$d=9409:12100$xx;;s;(\d*);push @_,$1;eg;map{print chr(sqrt($_))."\n"} @_;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://597552]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2022-08-08 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?