summaryrefslogtreecommitdiffstats
path: root/devel/p5-Time-timegm/pkg-descr
blob: 39669c49845210a51e7d92d4dcf7e1670a449a22 (plain)
1
2
3
4
5
6
7
8
9
10
The POSIX standard provides three functions for converting between integer
epoch values and 6-component "broken-down" time representations.
localtime and gmtime convert an epoch into the 6 components of seconds,
minutes, hours, day of month, month and year, in either local timezone or UTC.
The mktime function converts a local broken-down time into an epoch value.
However, POSIX does not provide a UTC version of this.

This module provides a function timegm which has this ability.

WWW: https://metacpan.org/pod/Time::timegm
OpenPOWER on IntegriCloud