year

Returns the year of the datapoint in the given time zone.


Transform Details

Input SchemaOutput Schema
{}
{
 "type": "integer"
}

Arguments

#DescriptionTypeSchemaDefault
1The time zone to use for determining timestamps, in IANA timezone database format (ex: 'America/New_York'). 'Local' uses the server time zone. 'UTC' uses UTC.const
{
 "type": "string"
}
"Local"