---
name: "Time.isoTime_1"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Time.isoTime_1"
---

# Time.isoTime\_1(3kaya)

Convert a Unix timestamp into ISO-8601 format

## 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)**
