DateHelperGetPreviousDate Method
Return the Previous date from the specified reference and day of month.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static DateTime GetPreviousDate(
DateTime baseDate,
int day
)
Public Shared Function GetPreviousDate (
baseDate As DateTime,
day As Integer
) As DateTime
No code example is currently available or this language may not be supported.
- baseDate DateTime
-
Date from which to find the Previous month day.
- day Int32
-
Day of month of the Previous date to find.
DateTime
Previous date representing the specified day of month, from the
reference provided by the caller.