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.