[drupal-devel] date conversion

Gordon Heydon gordon at heydon.com.au
Mon Jun 13 04:33:53 UTC 2005


Hi,

I was wondering if anyone knows of a decent method of converting dates
from text to a time.

I did look at strtotime() but it will not convert anything before Jan 1,
1970 which is a problem since it is going to be used for a date of birth
field, and some people will be over 35.

Is there is improved strtotime() that will convert to anything to a
time.

Any help will be most appreciated.

Gordon.




More information about the drupal-devel mailing list