how can we get number of weeks of current year, for example if开发者_开发技巧 it\'s 2009 there are 53 weeks and 2010 has 52Perhaps you can try setting the date to 31st Dec of current year, and queryi
I\'m using Zend_Date to set and get the year, but it is not being set as the correct year. I set the year as 2010, and it returns the year as 2009. What am I doing wrong? Is there a bug in Zend_Date?
I\'m having trouble trying to figure out how to achieve this programming challenge in m开发者_JS百科y Zend Framework application:
Frankly, I\'m flummoxed. Can anyone tell me why I would get a failure message with this code? $date = Ze开发者_运维百科nd_Date::now();
From what I understand, the best way to deal with dates in the Zend Framework is to select them as a Unix timestamp from the database.
In my app I use Zend_Date. I have set date_default_timezone_set(\'UTC\') because internally and in the database I only want to have UTC times.