Kentico 9.0 API Reference
Kentico 9.0 API Reference
Namespaces
CMS.Helpers
DateTimeHelper Class
DateTimeHelper Methods
DateTimeToString Method
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: 9.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) 2015 Kentico Software
Send comments on this topic to
support@kentico.com