NYCPHP Meetup

NYPHP.org

[nycphp-talk] I need a date...sorta...

csnyder chsnyder at gmail.com
Tue Nov 30 09:27:59 EST 2004


Other considerations in this thread aside, I like to provide a single
text field for each of start date and end date, then use strtotime()
on the input.

http://us2.php.net/manual/en/function.strtotime.php

This only works for applications where you know the input is generally
going to be good (intranets, selfnets), but it's a lot quicker to fill
out a text field than it is to dial up a date from pulldown menus.



More information about the talk mailing list