Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Getting Epoch from year, woy and dow...

by fglock (Vicar)
on Jan 27, 2005 at 18:47 UTC ( [id://425691]=note: print w/replies, xml ) Need Help??


in reply to Getting Epoch from year, woy and dow...

use Date::Tie; tie my %dt, 'Date::Tie', weekday => 3, week => 5, weekyear => 2005, hour => 0, minute => 0, second => 0; print $dt{$_}, " " for qw( weekyear week weekday year month day hour epoch ); print "\n"; # 2005 05 3 2005 02 02 18 1107302400

update: zeroed h:m:s

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (9)
As of 2024-04-23 17:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found