RE: [PHP] date part
| From: | (Edward Peloke) | Date: | Thu, 19 Dec 2002 14:59:56 +0000 |
| Subject: | RE: [PHP] date part | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128861@lists.php.net to get a copy of this message | ||
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:diana.castillo@nvtechnologies.com]
Sent: Thursday, December 19, 2002 9:05 AM
To: php-general@lists.php.net
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