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

◆ to_string() [1/3]

xtd::string xtd::date_time::to_string ( ) const
overridevirtualnoexcept

Converts the value of the current xtd::date_time object to its equivalent string representation using the formatting conventions of the current culture.

Returns
A string representation of the value of the current xtd::date_time object.
Remarks
The return value is identical to the value returned by specifying the "G" standard xtd::date_time format string with the xtd::date_time::to_string(const xtd::string&) method.

Reimplemented from xtd::object.

Examples
date_time_specify_kind.cpp.