See DateTime
#!/usr/bin/perl use strict; use warnings; use DateTime; #DateTime->DefaultLocale( 'fr_Fr' ) ; # if needed my $now = DateTime->now( time_zone => 'Europe/Paris' ); print $now->epoch, "\n";
hth,
PooLpi
In reply to Re: convert local time to unix epoch time
by poolpi
in thread convert local time to unix epoch time
by ganeshwari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |