The SystemDateTime provides static method to obtain System's Time.
Namespace: DotNetNuke.Services.SystemDateTimeAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public class SystemDateTime |
Visual Basic |
---|
Public Class SystemDateTime |
Remarks
DateTime information is collected from Database. The methods are created to find one unified timestamp from database
as opposed to depending on web server's timestamp. This method becomes more relevant in a web farm configuration