Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Helpers Namespaces
CMS.Helpers
DateTimeHelper Class
DateTimeHelper Methods
GetDayStart Method
GetFirstDayOfWeek Method
GetFormattedValidity Method
GetHourStart Method
GetMinuteStart Method
GetMonthStart Method
GetValidityEnum Method
GetValidityString Method
GetValidTo Method
GetWeekOfYear Method
GetWeekStart Method
GetYearStart Method
IsNowOrToday Method
IsValidFromTo Method
NumberOfWeeks Method
DateTimeHelper
GetValidityString Method
Returns validity enumeration as string.
Namespace:
CMS.Helpers
Assembly:
CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
Copy
public
static
string
GetValidityString
(
ValidityEnum
validity
)
Parameters
validity
Type:
CMS.Helpers
ValidityEnum
Validity
Return Value
Type:
String
See Also
Reference
DateTimeHelper Class
CMS.Helpers Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com