How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Introducing Time::Str

calendar_today May 12, 2026 person Christian Hansen domain perl

Time::Str is a Perl module for parsing and formatting date/time strings across 20+ standard formats. It has an optional C/XS backend, nanosecond precision, and rejects input it cannot parse unambiguously rather than guessing. use Time::Str qw(str2time str2date time2str); my $time = str2time(‘2024-12-24T15:30:45Z’); # 1735052445 my $str = time2str($time, format => ‘RFC2822’, offset => 60); # ‘Tue, 24 Dec 2024 16:30:45 +0100’ Standards Compliance Each format is implemented according to its specification: RFC 3339, RFC 2822, RFC 2616, ISO 8601 (calendar dates), ISO 9075, ITU-T X.680 (ASN.1),…

open_in_new Read original post