http://www.perlmonks.org?node_id=556052


in reply to Re: Parse and Summarise Big Brother logs
in thread Parse and Summarise Big Brother logs

How about strftime()?

use POSIX 'strftime'; print strftime '%Y-%m-%d', localtime();
HTH,
Charles