Re: Get server's time in UTC time zone, in ISO 8601 format - Mailing list pgsql-novice

From Frank Bax
Subject Re: Get server's time in UTC time zone, in ISO 8601 format
Date
Msg-id 4CF712AB.2050609@sympatico.ca
Whole thread Raw
In response to Get server's time in UTC time zone, in ISO 8601 format  (Basil Bourque <basil.list@me.com>)
List pgsql-novice
On 12/01/10 22:03, Basil Bourque wrote:
>    select current_timestamp AT TIME ZONE 'ZULU'
> That does indeed give me the UTC time, but without a timezone on the end such as +00 or z or zulu:
>    2010-12-02 00:29:05.735597
> Note the lack of +00 on end (that's a bad thing)



select (current_timestamp at time zone 'ZULU')||'+00';

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Get server's time in UTC time zone, in ISO 8601 format
Next
From: Guenther Boelter
Date:
Subject: Best practice to move from MySQL to PostgreSQL