| DateTimeHelperGetValidTo Method | 
            Calculate valid to date and time according to given parameters.
            
 
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
 Syntax
Syntaxpublic 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: 
DateTime See Also
See Also