Gets the day of the week from 1 (Monday) to 7 (Sunday) of a timestamp field.

ParameterTypeRequiredDefault ValueDescription
asstringoptional[a]_dayOfWeek The name of the output field.
field[b]stringrequired@timestamp The name of the input field.
timezonestringoptional[a]  The time offset to use, for example, -01:00. If not specified, the query's offset will be used.
timezoneFieldstringoptional[a]@timezone The name of the field containing the timezone to use, if not specified the query's timezone will be used. This is ignored if the timezone parameter is passed as well. If this is not defined the timezone offset of the query will be used.

[a] Optional parameters use their default value unless explicitly set.

[b] The argument name field can be omitted.

Hide omitted argument names for this function

Show omitted argument names for this function