|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Indicates whether the given DateTime value is within the Daylight Saving Time range for the current time zone.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(IsDeterministic = true)] public static <bool> IsDaylightSavingTime( dt ) | |
| Visual Basic (Declaration) | |
|---|---|
<(IsDeterministic := True)> _ Public Shared Function IsDaylightSavingTime ( _ dt As _ ) As (Of ) | |
Parameters
- dt
- DateTime
A DateTime.
Return Value
Returns true if the given DateTime is based on local time or an unspecified time zone, and the value is within the Daylight Saving Time range for the current time zone or false if the given DateTime is based on universal time.
See Also
DateTimeViperMethods Class
Smartsite.Runtime.Modules Namespace