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

◆ to_short_date_string()

const xtd::ustring xtd::date_time::to_short_date_string ( ) const

Converts the value of the current xtd::date_time object to its equivalent short date string representation.

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