Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdLAS-0008Nx-7u for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 19:52:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fdLAP-0003Jb-Qz for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 19:52:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdLAP-0003JU-Ik for pgsql-general@lists.postgresql.org; Wed, 11 Jul 2018 19:52:49 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdLAN-0006BU-7g for pgsql-general@postgresql.org; Wed, 11 Jul 2018 19:52:49 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id EB133215AC; Wed, 11 Jul 2018 15:52:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 11 Jul 2018 15:52:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=nV4YueBSDazoR+aVqViNmElOJBpJK 5GMYAa+HBzl92k=; b=3ZwT8iF66s4pXdXZtWb8+AI1LzYpBucnpAtEgqtLm52yU VYXr3ogqgAe8bJ0BzSUuYRT/y0JnQOS+3V/IOdZI0WaYv2VtomiP0mDf7rtupvey Hz4TcEtDryjyFXmP/kf08GjJsdpkuSBDmGWV/+gT5aLF03IPjEfUBI9uTI7pf4nq jEL8s4VBH8fYJv2/zmI7k6XszbDGtuW9U8JAbc9YmwErFxmGBUB2uzvMGPvW1iTu icrjxIkUKLkjGbp/kbyWLKmR7F4eJ1WsNPnlrz2YTw4RvdHnM4T30ZuMYucpNKyV foUqtJs1MndKAEf5hOTC8hC4XernFw9wJiGGybKRg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=nV4Yue BSDazoR+aVqViNmElOJBpJK5GMYAa+HBzl92k=; b=KWPIkWXl1jmIswEGTt5zUE 7n/yq6CFbCkI1rOBwFSL5thmFwg+NWRv72B8t3i7rw44YJ5uKBwgJVvN0DZaKqf2 YyBn7goCKSJw5GiZrrLq/2aQjDPyR1mLUvpBjXNfc4oNqMYUbYAtKF/v7qaUgrgJ qPUAsNTIx49AkgIrZ6MUuz+y+xgYiApWi/S8nop0D6z5tXvUQsq+Pv4BmZz/EE99 sTVqqFRX2ficuiER9BUM12X3Gf7SEPJ1XEPbLt/g4yxcOoTao/MvG3kjXpPvEVH4 ak0aJYWayIoaHw/WQ7/1H1za8d2xYBAWH8V0wF6kYXvYubuuoO9286xlqFFcK2Vw == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.181]) by mail.messagingengine.com (Postfix) with ESMTPA id 5219B1026B; Wed, 11 Jul 2018 15:52:45 -0400 (EDT) Subject: Re: timestamp (military) at time zone without the suffix To: David Gauthier , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: Date: Wed, 11 Jul 2018 12:52:44 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/11/2018 12:36 PM, David Gauthier wrote: > select now()::timestamp(0) at time zone 'utc' ; Or: test=> select now(); now ------------------------------- 2018-07-11 12:51:50.498416-07 (1 row) test=> select now()::timestamptz(0) at time zone 'utc' ; timezone --------------------- 2018-07-11 19:51:52 (1 row) -- Adrian Klaver adrian.klaver@aklaver.com