$date=Getdate($subsciption_begins);
$month=$date[mon]
-----邮件原件-----
发件人: Ron Piggott [mailto:[EMAIL PROTECTED] 
发送时间: 2007年3月17日 21:45
收件人: PHP DB
主题: [PHP-DB] Values in a date field


I have a $subscription_begins variable.  It the date type.  YYYY-MM-DD

How may I find out the month value (1 to 12) of this variable?

Ron

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

Reply via email to