Re: date function bug

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: date function bug
Date: 2019-10-23 14:43:28
Message-ID: 1629fd7f-af28-62ad-4dac-4e60ad981b41@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/23/19 9:32 AM, Ravi Krishna wrote:
>
> > postgres=# select to_date('2018150X','YYYYMMDD');
>   > to_date
> ------------
> > 2019-03-03
>
>
> > postgres=# select to_date('20181501','YYYYMMDD');
> >  to_date
> > ------------
>   > 2019-03-03
>
> is this a cut-n-paste mistake?

Nope.

Here's the screen print: http://i.imgur.com/f0UXfZh.png

--
Angular momentum makes the world go 'round.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Brannen 2019-10-23 14:44:21 RE: date function bug
Previous Message Abraham, Danny 2019-10-23 14:41:44 RE: Re: date function bug