title | description | applies_to | ms.service | ms.topic | ms.date | |
---|---|---|---|---|---|---|
DATETIMEFROMPARTS (Azure Stream Analytics) |
Returns a datetime value for the specified date and time. |
|
stream-analytics |
reference |
04/22/2016 |
Returns a datetime value for the specified date and time.
DATETIMEFROMPARTS (year, month, day, hour, minute, seconds, milliseconds)
date
Is an expression that can be resolved to a datetime. date can be an expression, column expression, or string literal.
datetime
SELECT EntryTime, DATETIMEFROMPARTS(2014,9,10,12,DATEPART(minute,EntryTime)+10,00,00)
AS ExitTime
FROM Input TIMESTAMP BY EntryTime
WHERE Toll > 5