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

◆ to_tm()

std::tm xtd::date_time::to_tm ( ) const

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

Returns
The value of the current xtd::date_time object expressed as std::tm.
Remarks
std::tm is a structure holding a calendar date and time broken down into its components. 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.