Extracts the ordinal for the second from a date/time object.
second(date)
returns numeric
date.second()
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| date | date | Yes | A date/time object |
dt = createdatetime(2016,1,1,5,30,25);
s = second( dt );
writeoutput( s );