CleanCode Perl Libraries |
Home | Perl | Java | PowerShell | C# | SQL | Index | Tools | Download | What's New |
Multi-Lingual Library | Maintainability | ||||||||||||
Perl | Java | JavaScript | Certified Class |
Testable Class |
Standalone Mode |
Diagnostic Enabled |
printtime - Date/time value formatter: converts a numerical date/time to a user-friendly format.
printtime <longint>
printtime <exponential notation>
printtime <float>
Perl5.005, Pod::Usage
This utility converts a raw date/time value to a user-friendly format.
The argument may be in any of these formats: - a date-time integer (e.g. 1135101995) - exponential notation (e.g. 1.1351e+09) - a float with just the signficant digits (e.g. 1.1351)
Since the last 2 cases lack precision, the value is taken as the midpoint of a range and the boundaries are provided.
The output shows both local time and UTC.
None
Michael Sorens
$Revision: 30 $ $Date: 2007-01-18 06:13:22 -0800 (Thu, 18 Jan 2007) $ Since V0.9.12
CleanCode 0.9.12
Home | Perl | Java | PowerShell | C# | SQL | Index | Tools | Download | What's New |
CleanCode Perl Libraries | Copyright © 2001-2013 Michael Sorens - Revised 2013.06.30 |