js1 has asked for the wisdom of the Perl Monks concerning the following question:
Without using a module such as Date::Manip or Time::Calc, how could I convert the time "2004-06-14 13:34:54" to a unix timestamp? I looked at mktime but for this you need to know the weekday.
I'm stuck on how to do this so would appreciate a hand. Thanks a lot.
js.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unix timestamp
by graff (Chancellor) on Jul 08, 2004 at 22:14 UTC | |
|
Re: unix timestamp
by Thelonius (Priest) on Jul 09, 2004 at 02:21 UTC | |
|
Re: unix timestamp
by duff (Parson) on Jul 08, 2004 at 22:18 UTC | |
|
Re: unix timestamp
by sacked (Hermit) on Jul 08, 2004 at 22:47 UTC | |
|
Re: unix timestamp
by grinder (Bishop) on Jul 08, 2004 at 22:35 UTC | |
|
Re: unix timestamp
by naChoZ (Curate) on Jul 08, 2004 at 21:41 UTC |