oylenshpeegul/Time-Moment-Epoch ↗
Created Dec 23, 2020 · View the oylenshpeegul/Time-Moment-Epoch repository page
Convert epoch times to Time::Moment times in Perl.
Want this for your repo?
Render a free sample of any GitHub repo in seconds.
Contributors
5
Lines of Code
119
From
Mar 15, 2015
To
Oct 15, 2017
About oylenshpeegul/Time-Moment-Epoch
Time::Moment::Epoch is a Perl library that converts various epoch time formats to Time::Moment objects, which are Perl's high-performance datetime objects. The library provides bidirectional conversion, allowing users to transform epoch times into Time::Moment times and vice versa. It supports multiple epoch formats including Unix timestamps, Google Calendar epochs, and others.
The project includes command-line utilities in the bin directory (convert_epoch and is_epoch) that demonstrate practical usage of the library. The module was originally implemented using the DateTime library, then refactored to use Time::Piece from the standard library, and finally migrated to Time::Moment for better performance characteristics. The library is available on CPAN and has been ported to other programming languages including Go, Elixir, PowerShell, and Rust.