xtd 0.2.0
Loading...
Searching...
No Matches

◆ seconds()

int32 xtd::time_span::seconds ( ) const
noexcept

Gets the seconds component of the time interval represented by the current xtd::time_span structure.

Returns
The second component of the current xtd::time_span structure. The return value ranges from -59 through 59.
Remarks
The xtd::time_span::seconds property represents whole seconds, whereas the xtd::time_span::total_seconds property represents whole and fractional seconds.
Examples
time_span.cpp.