Abstract
Occasionally I work with a database that stores dates and datetimes as UNIX timestamps, a.k.a. the number of seconds since midnight 1970-01-01. Unlike the original author of the database and surrounding code, I cannot convert between UNIX timestamps and human-readable date formats in my head, so I write tools for that.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Moritz Lenz
About this chapter
Cite this chapter
Lenz, M. (2017). Datetime Conversion for the Command Line. In: Perl 6 Fundamentals . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2899-9_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2899-9_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2898-2
Online ISBN: 978-1-4842-2899-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books