devel/p5-Time-Local 1.35 MidnightBSD
Efficiently compute time from local and GMT time
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- devel, perl5
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/p5-Time-Local | 1.35 |
| FreeBSD | devel/p5-Time-Local | 1.35 |
| DragonFly | devel/p5-Time-Local | 1.35 |
| HardenedBSD | devel/p5-Time-Local | 1.35 |
| GhostBSD | devel/p5-Time-Local | 1.35 |
Install
Binary package:
mport install p5-Time-Local
From mports:
cd /usr/mports/devel/p5-Time-Local && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Time-Local>0:devel/p5-Time-Local
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Time/Local.pm
- %%PERL5_MAN3%%/Time::Local.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Time-Local-1.35.tar.gz | 46496 | 1d136b71bd041cbe6f66c43180ee79e675b72ad5a3596abd6a44d211072ada29 |
Master sites 1
- CPAN