Scalar. Returns an integer representing the day of the year (one-based) as extracted from a timestamp value.
timestamp |
An expression that evaluates to a timestamp value. |
timezone |
A string representing the time zone. If omitted, Sybase CEP Engine assumes the local time zone. See "Sybase CEP Time Zone Database" in the Sybase CEP Integration Guide for more information about valid time zone strings. |
If either parameter is NULL, the function returns NULL.
INSERT INTO OutStream SELECT DAYOFYEAR(InStream.OderTime) FROM InStream;