Gossamer Forum
Home : General : Perl Programming :

Re: [Volker] Convert yyyy-mm-dd format into UNIX timestamp...

Quote Reply
Re: [Volker] Convert yyyy-mm-dd format into UNIX timestamp... In reply to
Thanks =)
In Reply To:
Bugfix:

Code:
sub {
my $year = 2005;
my $month = 9;
my $day = 21;

use Time::Local;
my $time = timelocal(0,0,0,$day,$month - 1,$year);
return $time;
}

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Convert yyyy-mm-dd format into UNIX timestamp... Andy 14165 Sep 21, 2005, 3:23 AM
Thread Re: [Andy] Convert yyyy-mm-dd format into UNIX timestamp...
Volker 13981 Sep 21, 2005, 4:54 AM
Thread Re: [Volker] Convert yyyy-mm-dd format into UNIX timestamp...
Volker 13947 Sep 22, 2005, 2:47 AM
Post Re: [Volker] Convert yyyy-mm-dd format into UNIX timestamp...
Andy 13972 Sep 24, 2005, 12:50 AM