Scalar. Returns the timestamp of a row.
Using this function with an embedded FIRST or LAST function returns the timestamp of the first or last row of a window, respectively, based on the window's sort order. Using it with an embedded PREV function returns the timestamp of the immediately previous row of a stream or window.
You can only use this function without an argument as part of a filter expression when subscribing to a stream or window. See "Out-of-process Adapter" in the Sybase CEP Integration Guide for more information.
INSERT INTO OutStream SELECT COUNT(*) FROM InputWindow WHERE GETTIMESTAMP(InputWindow) >= (NOW() - 5 SECONDS);