datetime class : Second getter
Description
Gets the second portion represented by this instance.
Syntax
datetimeInstance.Second
Arguments
None
Return value
| Class | Description |
| int | Second portion of datetime (from 0 to 59) |
Sample code
| 1: | datetime dt = new datetime(2016, 3, 4, 4, 13, 0); |
| 2: | int second = dt.Second; // 0 |
Notes
It's a wrapper of the System.DateTime.Second property.


