Actually i cant understand properly ur question but to for the time we normally use gmtime(time) or localtime(time)
in both the cases it gives u 9 elements array which u can use as per ur requirement.
like this.
($sec,$min,$hour,$mday,$mo
gmtime(time);
or
($sec,$min,$hour,$mday,$mo
localtime(time);
I think it will help u
Main Topics
Browse All Topics





by: marecsPosted on 2001-05-21 at 00:47:41ID: 6102484
use Time::Local;
day,$mon,$ year); ,$mday,$mo n,$year);
$seconds = timegm($sec,$min,$hours,$m
$seconds = timelocal($sec,$min,$hours
in your case
$seconds = timegm(0,0,0,12,11,70);
perldoc Time::Local for more details.