[nycphp-talk] Date Check
Aaron Fischer
agfische at email.smith.edu
Wed Jul 16 14:49:46 EDT 2003
You can save them the trouble by creating a date variable in your form
processing script:
$date=date("d-m-Y");
Then there isn't a need to have a field in the form requesting the user
to enter the date.
Aaron
On Wednesday, Jul 16, 2003, at 14:44 US/Eastern, Willliam Klein wrote:
> Hi All;
>
> Does anyone know of a date validation routine for php?
>
> I have a form with users submitting a date and I want to be sure they
> put in a valid date.
>
> Thanks
>
> willie
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 718 bytes
Desc: not available
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030716/408a7765/attachment.bin>
More information about the talk
mailing list