RE: [PHP] Strange problem... From: Daniel Alsén (d <email protected>)
Date: 11/30/01

> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>