Scroll to navigation

Time.isoTime(3kaya) Kaya module reference Time.isoTime(3kaya)

NAME

Time::isoTime - Convert a Unix timestamp into ISO-8601 format

SYNOPSIS

String isoTime( Int secs, [IsoTimeOpts] opts=[] )

ARGUMENTS

secs The Unix timestamp (seconds since 1970-01-01 00:00:00).
opts A list of Time.IsoTimeOpts (3kaya) options. This argument may be omitted and defaults to the empty list.

DESCRIPTION

Return an ISO-8601 format String representing the time from the Unix timestamp. The local timezone will be assumed (though not necessarily displayed) unless the UTC flag is in the opts array.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Time.Time (3kaya)
Time.isoTime (3kaya)
August 2014 Kaya