Summary
Extract time field
Description
Extracts the day, month, year, or other field from a given time
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
Name | Type | Required | Description |
---|---|---|---|
inputTime | object | yes | The time representation to extract a field from |
field | enum | yes | Allowed values are: [ Millisecond, Second, Minute, Hour, Day of week, Day of month, Day of year, Week of year, Month, Year ] - The field to extract |
outputFormat | enum | yes | Allowed values are: [ String, Number ] - Humanized string or numeric value |
Return
DetailsExampleSchema
Name | Type | Description |
---|---|---|
timeFieldValue | string | The extracted field |