Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kDateTime_FromLocalParts | ( | kDateTime * | dateTime,
|  | k32s | year,
|  | k32s | month,
|  | k32s | day,
|  | k32s | hour,
|  | k32s | minute,
|  | k32s | second,
|  | k32s | microsecond,
|  | k32s | utcOffset
| ) |  |
| related

Gets the date-time value associated with the specified broken-down local time parts.

This method relies on underlying platform support for broken-down time conversions. For platforms without timezone support, the local time zone is assumed to equal UTC.

Parameters

  dateTime | Recieves date-time value.
  year | Year value.
  month | Month value (1-12).
  day | Day value (1-31).
  hour | Hour value (0-23).
  minute | Minute value (0-59).
  second | Second value (0-59).
  microsecond | Microsecond value (0-999999).
  utcOffset | Optionally specifies offset to UTC, in minutes (k32S_NULL for offset based on specified time in local time zone).

Returns
  Operation status.