YEAR (Azure Stream Analytics)
Returns an integer that represents the year of the specified date
Syntax
YEAR ( date )
Arguments
date
Is an expression that can be resolved to a datetime. date can be an expression, column expression, or string literal.
Return Types
bigint
Examples
SELECT YEAR (EntryTime)
FROM Input TIMESTAMP BY EntryTime
WHERE Toll > 5
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for