答复: [PHP-DB] Values in a date field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$date=Getdate($subsciption_begins);
$month=$date[mon]
-----邮件原件-----
发件人: Ron Piggott [mailto:ron.php@xxxxxxxxxxxxxxxxxx] 
发送时间: 2007年3月17日 21:45
收件人: 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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux