How to find the current day of the year in PHP? -


Is PHP a standard function that will find the number of days of the year based on the current date?

Example:

  Jan 22nd = 22 Feb 27th = 58 Mar 5th = 64  

If there is no standard function, then Has anyone been able to handle some similar conversion? What is all involved?

date ('z') + 1;


Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -