CleanCode Perl Libraries
Multi-Lingual Library Maintainability
available: Perl not available: Java not available: JavaScript not available: Certified
Class
not available: Testable
Class
not available: Standalone
Mode
not available: Diagnostic
Enabled

NAME

printtime - Date/time value formatter: converts a numerical date/time to a user-friendly format.

SYNOPSIS

    printtime <longint>
    printtime <exponential notation>
    printtime <float>

REQUIRES

Perl5.005, Pod::Usage

DESCRIPTION

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.

BUGS

None

AUTHOR

Michael Sorens

VERSION

$Revision: 30 $ $Date: 2007-01-18 06:13:22 -0800 (Thu, 18 Jan 2007) $ Since V0.9.12

SINCE

CleanCode 0.9.12


CleanCode Perl Libraries Copyright © 2001-2013 Michael Sorens - Revised 2013.06.30 Get CleanCode at SourceForge.net. Fast, secure and Free Open Source software downloads