Update 20150316 Linux FAQs with Answers--How to convert between local time and UNIX timestamp in Perl.md

This commit is contained in:
VicYu 2015-03-17 21:12:28 +08:00
parent 8874d21c4b
commit 8f21e2b84a

View File

@ -1,3 +1,5 @@
Vic020
Linux FAQs with Answers--How to convert between local time and UNIX timestamp in Perl Linux FAQs with Answers--How to convert between local time and UNIX timestamp in Perl
================================================================================ ================================================================================
> **Question**: I need to convert readable date and time to a corresponding UNIX timestamp (i.e., Epoch time), or vice versa in a Perl program. Can you show me Perl code examples of converting date/time to UNIX timestamp, or conversely, converting UNIX timestamp to human-readable date and time? > **Question**: I need to convert readable date and time to a corresponding UNIX timestamp (i.e., Epoch time), or vice versa in a Perl program. Can you show me Perl code examples of converting date/time to UNIX timestamp, or conversely, converting UNIX timestamp to human-readable date and time?