|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Converts the value of the given DateTime object to universal time.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(IsDeterministic = true)] public static <> ToUniversalTime( dt ) | |
| Visual Basic (Declaration) | |
|---|---|
<(IsDeterministic := True)> _ Public Shared Function ToUniversalTime ( _ dt As _ ) As (Of ) | |
Parameters
- dt
- DateTime
A DateTime.
Return Value
A DateTime based on universal time, whose value is the UTC equivalent to the value of the given DateTime, or DateTime.MaxValue if the converted value is too large to be represented by a DateTime, or DateTime.MinValue if the converted value is too small to be represented by a DateTime.
See Also
DateTimeViperMethods Class
Smartsite.Runtime.Modules Namespace