Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

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

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

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 | Date-time value.
  year | Optionally receives year.
  month | Optionally receives month (1-12).
  day | Optionally receives day (1-31).
  dayOfWeek | Optionally receives day of week (days since Sunday, 0-6).
  hour | Optionally receives hour (0-23).
  minute | Optionally receives minute (0-59).
  second | Optionally receives second (0-59).
  microsecond | Optionally receives microsecond (0-999999).
  utcOffset | Optionally receives offset to UTC, in minutes.

Returns
  Operation status.