Home Page
About Us


Mktime is a function that returns the time since the UNIX epoch from a given date and time


PHP function for parsing about any English textual datetime description into a Unix timestamp



You don t need to use mktime;strtotime is more human friendly

from question  

Getting dates in PHP is a good way or any other methods for this?

You d be better off using mktime for this as it s dumber than strtotime

from question  

Get the last 12 months in PHP

Yeah entries are strings then mktime is more consistent to use the strtotime function

from question  

Php convert date to mktime function

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0