millisecond
Syntax
millisecond(X)
Arguments
X is a scalar/vector of type TIME, TIMESTAMP, NANOTIME or NANOTIMESTAMP.
Details
For each element in X, return a number from 0 to 999 indicating which millisecond of the second it falls in.
Examples
millisecond(13:30:10.008);
// output
8
millisecond([2012.12.03 01:22:01.456120300, 2012.12.03 01:25:08.000234000]);
// output
[456,0]
Related functions: dayOfYear, dayOfMonth, quarterOfYear, monthOfYear, weekOfYear, hourOfDay, minuteOfHour, secondOfMinute, microsecond, nanosecond