DateTimeHelperGetFormattedValidity Method |
Returns validity as formatted string.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static string GetFormattedValidity(
ValidityEnum validity,
int validFor,
DateTime validUntil
)
Parameters
- validity
- Type: CMS.HelpersValidityEnum
Validity type - validFor
- Type: SystemInt32
Multiplier for time period set by validity type - validUntil
- Type: SystemDateTime
Valid until date and time
Return Value
Type:
StringSee Also