datePartNum(unixEpochMillis,part,timezone)¶
Definition¶
Integer datePartNum(Number unixEpochMillis, String part, String timezone)
Description¶
Returns part of a date as an integer value based on some supplied time in milliseconds since the Unix epoch (1/1/1970) in the given timezone.
Parameter Definition¶
| Name | Type | Description |
|---|---|---|
| unixEpochMillis | Number | Number of milliseconds since 1/1/1970 in UTC timezone |
| part | String | Date fields to return:
|
| timezone | String | Timezone to return extracted fields in |