Tag Archives: date

Local date format in PHP or MySQL

If locale is installed on the server then with PHP: For MySQL local date:

Posted in Programming | Tagged , , , | Leave a comment

Calculate days between dates

Using php strtotime function difference between dates: Another way to set date with mktime function: Before PHP 5.1.0 negative timestamps were not supported. Under any known version of Windows date could be from 1970 to 2038 years. And using MySQL … Continue reading

Posted in Programming | Tagged , , , , , , , | Leave a comment