Alli Posted October 7, 2008 Share Posted October 7, 2008 Ola, after feeling rather groovy on figuring out how to get the date to display automatically, could someone please help with my new "must have"? Anywho, on our site SmArgus.com we have an old style newspaper "masthead" just below the header graphic. In the masthead there are "Volume #" and "Issue #". How could one go about changing the "issue #" at 12:00am every day, and changing the "Volume #" once per 12 months? Any help is greatly appreciated Alli Link to comment https://forums.phpfreaks.com/topic/127349-php-counter-for-volume-number-and-issue-number/ Share on other sites More sharing options...
btherl Posted October 7, 2008 Share Posted October 7, 2008 With date(), you can get the day of year using "z" and the year itself using "Y". You can generate the volume and issue numbers from those. Link to comment https://forums.phpfreaks.com/topic/127349-php-counter-for-volume-number-and-issue-number/#findComment-658794 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.