Re: month part
| From: | Adam Voigt | Date: | Thu, 19 Dec 2002 14:10:50 +0000 |
| Subject: | Re: month part | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92679@lists.php.net to get a copy of this message | ||
A. This is a list for the development OF php, not IN php.
B.:
$split = explode("/","06/07/2000");
$month = $split[0];
On Thu, 2002-12-19 at 09:04, Diana Castillo wrote:
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 Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc