Archive

Posts Tagged ‘function’

How to Know The Number of Days from Monday until Today of This Week in PHP

December 13th, 2009 Masino Sinaga No comments

There was a question asked to myself how to know the number of days that calculated from Monday until today of this week by using PHP script. Well, actually, we can make a function by checking based on the day name of today, then return the value based on its day name to the function. So here is the solution I made. Read more…

  • Share/Bookmark