Kentico 11 API Reference
Kentico 11 API Reference
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: 11.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) 2017 Kentico Software
Send comments on this topic to
support@kentico.com