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#Copy imageCopy Code
public static  UtcNow { get; }
Visual Basic (Declaration)Copy imageCopy Code
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

Advanced