1. Perl
  2. Date/Time

Handle date/time in Perl

The handling of "date/time" in Perl is summarized.

If Perl 5.10 or later is installed, the standard module Time::Piece that handles date and time is attached as standard. We recommend that you try this first.

If you want to handle dates more strictly than Time::Piece, you can install the DataTime module from cpan.

When it comes to large-scale processing, date/time processing may become a bottleneck. In such cases, you can also use the high-performance Time::Moment module.

Builtin functions for handling date/time

Special date

Time calculation

Related Informatrion