Gets the database time.

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static DateTime GetDatabaseTime()
Visual Basic
Public Shared Function GetDatabaseTime As DateTime

Return Value

Date/time of the database in UTC

See Also