DateTimeHelperGetFormattedValidity Method |
Returns validity as formatted string.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntaxpublic 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:
String
See Also