#!/usr/bin/perl -wT use strict; use Time::Local; use POSIX; my @localtimearr = localtime; print Time::Local::timelocal(@localtimearr), "\n"; print POSIX::mktime(@localtimearr), "\n"; =sample OUTPUT 1003277170 1003277170
-Blake
In reply to Re: Re: comparing dates
by blakem
in thread comparing dates
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |