toString¶
Returns a string representation of the current DateTimeOffset value, using the default format.
1 | |
Returns a string representation of the current DateTimeOffset value, using the specified format.
1 | |
Parameters¶
string format
A format string that specifies the format of the output.
Returns¶
A string representing the date and time. A string representing the date and time in the specified format.