DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Web has posted 8 posts at DZone. View Full User Profile

Date Formatting In Perl

06.27.2008
| 3576 views |
  • submit to reddit
        // will use POSIX's strftime

use POSIX qw/strftime/;
print strtftime( '%a. %Y.%m.%d %H:%M', localtime );