mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
e881e0a6da
efficiently compute time from local and GMT time. PR: 53960 Submitted by: Mathieu Arnold <m@absolight.net>
9 lines
474 B
Plaintext
9 lines
474 B
Plaintext
These routines are the inverse of built-in perl functions localtime() and
|
|
gmtime(). They accept a date as a six-element array, and return the
|
|
corresponding time(2) value in seconds since the system epoch (Midnight,
|
|
January 1, 1970 UTC on Unix, for example). This value can be positive or
|
|
negative, though POSIX only requires support for positive values, so dates
|
|
before the system's epoch may not work on all operating systems.
|
|
|
|
WWW: http://search.cpan.org/dist/Time-Local/
|