RE: [PHP] Strange problem...
| From: | Daniel Alsén | Date: | Fri, 30 Nov 2001 23:45:59 +0000 |
| Subject: | RE: [PHP] Strange problem... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76278@lists.php.net to get a copy of this message | ||
> You should really be storing your dates as datetime so you can take
> advantage of the date sorting functions. But then you'd need to use
> date() to format the string into yyyy-mm-dd format.
Thanks Jim.
but how would i actually do that? I have studied the date() function in the
manual - but can´t find a way of inserting a set value from user input as a
valid date.
- D