in reply to Timestamps
$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.use Time::Local; $now = time(); $specific_time = timelocal($seconds, $minutes, $hour, $month_day, $mon +th, $year);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Timestamps
by Anonymous Monk on Jun 24, 2004 at 10:03 UTC |