in reply to Re: Parsing timestamps
in thread Parsing timestamps

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);
Wouldn't that generate a timestamp of now?

Neil Watson
watson-wilson.ca