In the Zend Framework, I want to find a few week days.
echo Zend_Date::WEEKDAY_DIGIT;
But it returns . Today is Wednesday. And I want to return 3 (or 2 if Monday is 0). How should I do it? I know how to do this with a class . But I need Zend_Date. eDateTime
e
DateTime
Many thanks.
Heyho,
A little mistake there. WEEKDAY_DIGIT is a constant that determines which date placeholder is used for the daily digit (e). Try:
$date = Zend_Date::now(); print $date->get(Zend_Date::WEEKDAY_DIGIT);
Source: https://habr.com/ru/post/1769313/More articles:How can I associate an IBAction event with an image? - objective-cGarbage collection inside lock object - garbage-collectionProblem with weird pointer - chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1769311/advanced-filtering-on-google-analytics-to-grab-referrals-and-convert-them-to-external-links&usg=ALkJrhjXUwcrW6BXTSSy5rt4zPBdpkp5WwHow to determine if an address matches a word - memory-alignmentproblem while removing display: none with jQuery - javascriptApparently the redundant ActiveRecord has_many definition is ruby-on-railsIGeoPositionWatcher.PositionChanged не запускается, но GeoCoordinateWatcher.PositionChanged - c#Is reading / writing to a pipe an expensive operation? - cWhat is the OJDBC driver for Java 6? - javaAll Articles