UtilDateTimeYesterday(String, IFormatProvider) Property
Gets the date of yesterday as a string representation using the specified format and provider.
Namespace: DevCase.Core.DateAndTimeAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string this[
string format,
IFormatProvider provider
] { get; }
Public Shared ReadOnly Property Yesterday (
format As String,
provider As IFormatProvider
) As String
Get
Dim format As String
Dim provider As IFormatProvider
Dim value As String
value = UtilDateTime.Yesterday(format, provider)
public:
static property String^ Yesterday[String^ format, IFormatProvider^ provider] {
String^ get (String^ format, IFormatProvider^ provider);
}
static member Yesterday : string with get
No code example is currently available or this language may not be supported.
- format String
-
- provider IFormatProvider
-
String
The date of yesterday.
This is a code example.
No code example is currently available or this language may not be supported.
Dim ci As New CultureInfo("en-US")
Dim yesterday As Date = Yesterday("MMMM dd, yyyy", ci)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.