Wouldn't that generate a timestamp of now?use POSIX qw/strftime/; # generate a timestamp of 12 hours ago in the same format as the data +file $twelve_hours_ago = strftime("%Y-%m-%d/%H:%M:%S",localtime);
Neil Watson
watson-wilson.ca
In reply to Re^2: Parsing timestamps
by neilwatson
in thread Parsing timestamps
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |