DateTimeHelperGetValidTo Method |
Calculate valid to date and time according to given parameters.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static DateTime GetValidTo(
DateTime orignalValidTo,
ValidityEnum unitsType,
int units
)
Parameters
- orignalValidTo
- Type: SystemDateTime
Original valid to date and time - unitsType
- Type: CMS.HelpersValidityEnum
Type of time units to add or subtract - units
- Type: SystemInt32
Time units count
Return Value
Type:
DateTimeSee Also