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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -