---
name: "Time.isoTime"
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"
---

# Time.isoTime(3kaya)

Convert a Time-value into ISO-8601 format

## NAME

Time::isoTime - Convert a Time-value into ISO-8601 format

## SYNOPSIS

**String isoTime(** *Time t, \[IsoTimeOpts\] opts=\[\], Int tzOffs=0* **)**

## ARGUMENTS

**t** The Time

**opts** A list of **Time.IsoTimeOpts (3kaya)** options. This argument may be omitted and defaults to the empty list.

**tzOffs** The offset of the timezone from UTC in seconds. This argument is usually only used internally by **Time.isoTime\_1 (3kaya)** for conversion from Unix timestamps

## DESCRIPTION

Returns a String containing the ISO-8601 representation of a **Time.Time (3kaya)**\
  This can then be used in interoperation with various other systems.

## 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\_1 (3kaya)**
