With PHP 5 they introduced the DateTime class. Prior to that everyone used strtotime, date, etc...commands to achieve the same results. I was a late adopter and continued to use…
Read More
A simple example of how to take a date and change it's format using PHP. August, 3 2015 to YYYY-MM-DD Easily done with the below code: $old_date = 'August 3,…
Read More
When passing dates from a form to be saved in your database you sometimes need to change their format. For example a with a datetimepicker you want the format to…
Read More