document updated 8 years ago, on Jul 19, 2014
Core modules
Important modules
Parsing
- high-level
- medium-level
- low-level
If you're stuck using low-level parsing libraries, here is some useful information for writing custom date parsers.
Timezones
To change your script's local timezone at the top of the script:
use POSIX;
$ENV{TZ} = 'CST6CDT';
POSIX::tzset();
Formatting
- strftime() is the quintessential function here, and can be found in various places:
- rounding to English expressions (eg. "6 seconds ago", "4 days ago")