Anyone can show me how to get week number from a date uses Zend Framework 2? Thank you very much.
You don't need the framework's featureset for this. Just the raw language.
date('W', $timestamp);
W
: ISO-8601 week number of year
Note that W
is uppercase. Lowecase w
returns the day number of the week.