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.