Official Content

Returns a DateTime value corresponding to the current date and time of the DBMS.

Syntax

ServerNow()

Type Returned:
DateTime

Scope

Objects: Procedure, Transaction, Web Panel, PanelData Provider
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3), Apple, Android, Angular

Note: The following warning is displayed when using the function in a Panel with its Connectivity Support property set to Offline:

warning: spc0210: 'ServerNow()' not supported, using 'Now()' function instead.

See Also

TimeZone Support - General Considerations
ServerTime function
ServerDate function
Today function
Time function
Now function




Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant