EssentialsDate.ToString method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
ToString()
Virtual
Returns a string representation of the date.
public virtual string ToString()
Returns
A string representation of the value of the current EssentialsDate object.
ToString(string)
Converts the value of the current EssentialsDate to its equivalent string representation using the specified format
.
public string ToString(string format)
Parameters
format
String
A standard or custom date and time format string.
Returns
A string representation of value of the current EssentialsDate object as specified by format
.
ToString(string, IFormatProvider)
Converts the value of the current EssentialsDate to its equivalent string representation using the specified format
and provider
.
public string ToString(string format, IFormatProvider provider)
Parameters
format
String
A standard or custom date and time format string.
provider
IFormatProvider
An object that supplies culture-specific formatting information.
Returns
A string representation of value of the current EssentialsDate object as specified by format
and provider
.