second-from-datetime
Returns the seconds, as an integer value, from the xs:dateTime value supplied as argument.

Languages
Built-in, C++, C#, Java.
Parameters
Name | Type | Description |
---|---|---|
datetime | xs:dateTime | Provides the input value of type xs:dateTime. |
Example
If datetime is 2001-12-17T09:30:02.544+05:00, the function returns 2.