|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns the current date and time expressed as Coordinated Universal Time (UTC) in short time string representation.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
public static UtcNow { get; } | |
| Visual Basic (Declaration) | |
|---|---|
Public Shared ReadOnly Property UtcNow As Get | |
Field Value
The current date and time expressed as Coordinated Universal Time (UTC) in short time string representation.
Remarks
Avoid calling Now.ToUniversalTime, as this may return inaccurate results caused by daylight saving. Instead use the UtcNow property.
See Also
DateTimeViperMethods Class
Smartsite.Runtime.Modules Namespace