I used a javascript I found online in my php page.  Click on the boxes next
to the date fields:
http://www.aircharterunited.com/pages/submit_bid.php

This way, I know the format of the date when it is entered and I can pull
out any part needed.

Eddie

-----Original Message-----
From: Diana Castillo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 9:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] date part


How can I get a string containing the month part of a date the user types
in?
e.g. if they type in "06/07/200" I want to get "06"

thanks,
diana



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to