Convert Unix_timestamp string in Perl
Posted: Fri Nov 07, 2008 9:26 pm
Hi,
I'm making a small mod to the zmvideo script to add the time and date to the Mpg file name.
Could someone suggest how to convert the unix_timestamp string from
'2007-10-04 22:23:00'
to '2007-10-24_22_23_00' in perl ?? I'm definitely not a perl expert.
Thanks in advance,
Joel
I'm making a small mod to the zmvideo script to add the time and date to the Mpg file name.
Could someone suggest how to convert the unix_timestamp string from
'2007-10-04 22:23:00'
to '2007-10-24_22_23_00' in perl ?? I'm definitely not a perl expert.
Thanks in advance,
Joel