in reply to Timestamps

You can get the current time with the time() function. YOu can generate a specific time value with Time::Local
use Time::Local; $now = time(); $specific_time = timelocal($seconds, $minutes, $hour, $month_day, $mon +th, $year);
$now and $specific_time are both represented as seconds since midnight jan 1, 1970. use localtime() to extract the seoncs, minues, hours etc from this.

Replies are listed 'Best First'.
Re^2: Timestamps
by Anonymous Monk on Jun 24, 2004 at 10:03 UTC
    Thanks that did the trick! You have to enjoy Perl's consistency. Localtime to extract timestamp details and to reverse the process you reverse the verb name! Cheers, Ronnie