PHP Timestamps can be very useful in programming and tracking possible modifications which could have been made. The mktime() function in PHP is a powerful tool that returns UNIX timestamps of a given date. The mktime() function shows the number of seconds passed from 1st January 1970 to a given date. 1st January 1970 is taken to be the starting date for the OS and hence all the timestamp values are generated by keeping this as the base. This can be used to calculate the time elapsed across a wide range of varieties including the last 24 hours, yesterday, last week, this week, last month, etc…
Read More Category: PHP, TutorialsGet Current Week, Last Week and Other Timestamps using MkTime in PHP
