[EMAIL PROTECTED] writes: > otdyh=# select to_date(20020200,'YYYYMMDD'); > to_date > ------------ > 2002-02-01
> must be 2002-01-31 !! > 00 day - is the last day of the previous month! I don't think so. If anything, this should raise an error. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org