Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62714

Re: How to check the date validity?

References <CA+FnnTxf1te0s4fmaXfP1wcCQ8esxrfyx3TN-JKizrMTyL-Lsg@mail.gmail.com> <CAPTjJmq_2d5LXKcEEc_85-Wjfh1=q0+uBS7=0YHkQ5dH6ubM=Q@mail.gmail.com> <l9fa5f$fu0$1@ger.gmane.org>
Date 2013-12-26 09:03 +1100
Subject Re: How to check the date validity?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4616.1388009020.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Dec 26, 2013 at 6:03 AM, Sibylle Koczian <nulla.epistola@web.de> wrote:
> MySQL used to accept wrong date and datetime formats without error messages.
> Garbage in the database, because validation was (is?) considered the job of
> "the application". Possibly that has changed, but I'd look into the docs. It
> isn't PostgreSQL.

Nor is it DB2, which is where I grew up, databases-wise. Yes, check
what MySQL will do. I'd forgotten that, or more likely suppressed it
from my mind.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How to check the date validity? Chris Angelico <rosuav@gmail.com> - 2013-12-26 09:03 +1100

csiph-web