Select the current time "now ()" and convert it to GMT 0

I need to convert now () to GMT0.

SELECT now();

should display the current time in GMT0. Is it possible without changing the time zone? And using only one select statement?

Thanks in advance for your help.

+5
source share
1 answer

The utc_timestamp function should do what you want.

SELECT utc_timestamp();
+12
source

All Articles