Time.IsoTimeOpts(3kaya)

Time.IsoTimeOpts3kaya

Flags for the isotime function

Usage

Time::IsoTimeOpts< >

= DateOnly()

| TimeOnly()

| WithTimeZone()

| ShortForm()

| TwoFields()

| UTC()

Overview

Flags for modifying the output of the Time.isoTime (3kaya) functions.

- DateOnly : Return only the date portion of the date and time

- TimeOnly : Return only the time portion of the date and time (ignored if DateOnly is also specified)

- WithTimeZone : Include a timezone specification.

- ShortForm : Compact output by removing date and time delimiters (the delimiter between the date and time parts is kept)

- TwoFields : Use ' ' rather than 'T' as the delimiter between the date and time portions

- UTC : When converting from a Unix timestamp, return the time in the UTC timezone (normally it is returned in the local timezone). When using a Time.Time (3kaya) this flag has no effect.

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8

Authors

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). 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.

From kaya 0.4.4-6.2 in Debian 8 (Jessie). Parsed by carta from the page's man source.