in reply to Re^2: split functionin thread split function
use DateTime qw( ); my $dt = DateTime->now( time_zone => 'local' ); $dt->subtract( minutes => 20 ); print($dt->strftime("%d/%m/%Y %H:%M:%S"), "\n"); [download]
DateTime