Date-format
| From: | Tommi Virtanen | Date: | Thu, 12 Sep 2002 07:11:47 +0000 |
| Subject: | Date-format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116099@lists.php.net to get a copy of this message | ||
Hi!
I have web-form, which has field (10 chars), there I enter date (format
dd.mm.yyyy). Then data saves to database (date-field type is date).
So everything works, but not fine. When I enter date in format ex.
31.12.2002 and save form, then I'll check what are in db (there are
2031-12-20).
Is there any chance to correct this problem.
I have (in clause which insert to db):
GetSQLValueString($HTTP_POST_VARS['date'], "date")
gustavus