github.com/oylenshpeegul/Time-Moment-Epoch ↗
Convert epoch times to Time::Moment times in Perl.
Open this visualization on its own page →
Contributors
5
Lines of Code
119
From
2015-03-15
To
2017-10-15
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.