cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the database's current time?

0 Kudos

Hello,

is there a select statement to retrieve the system time of MaxDB/SAPDB similar to the SQL Server statement "SELECT GETUTCDATE()"?

Thanks,

Christian

Accepted Solutions (0)

Answers (1)

Answers (1)

alexander_schroeder
Participant
0 Kudos

In MaxDB, you can do, e.g., a

SELECT UTCDATE FROM DUAL

to select the current UTC timestamp at the server. You

may of course also use the UTCDATE statement in all

places where you could use a time stamp literal or

parameter.