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

◆ to_time_t()

std::time_t xtd::date_time::to_time_t ( ) const

Converts the value of the current xtd::date_time object to std::time_t.

Returns
The value of the current xtd::date_time object expressed as std::time_t.
Remarks
std::time_t is almost always an integral value holding the number of seconds (not counting leap seconds) since 00:00, Jan 1 1970 UTC, corresponding to POSIX time.
See <std::chrono for more information.