Package Products :: Package ZenUtils :: Module Time |
[hide private]
[frames] | no frames]

# Module Time

source code

Time

Utilities for consistent manipulation of Dates and Time. All simple code should migrate here, and without dependencies on anything other than standard python libraries.

$Id:$

Functions | [hide private]
_maybenow(gmtSecondsSince1970) | source code
LocalDateTime(gmtSecondsSince1970=None) | source code
isoDateTime(gmtSecondsSince1970=None) | source code
LocalDateTimeSecsResolution(gmtSecondsSince1970=None) | source code
USDate(gmtSecondsSince1970=None) | source code
ParseUSDate(mdy) | source code
YYYYMMDDHHMMS(gmtSecondsSince1970=None) | source code
HHMMSS(gmtSecondsSince1970=None) | source code
SaveMessage() | source code
Duration(seconds) | source code
getBeginningOfDay(gmtSecondsSince1970=None) | source code
getEndOfDay(gmtSecondsSince1970=None) | source code
isoToTimestamp(value) converts a iso time string that does not contain a timezone, ie. | source code

Function Details | [hide private]

### isoToTimestamp(value) | source code
converts a iso time string that does not contain a timezone, ie. YYYY-MM-DD HH:MM:SS, to a timestamp in seconds since 1970; uses the system timezone