↧
Answer by Kwebble for PHP strtotime gives me a hour to much
Make sure the PHP script on the server uses the correct timezone to convert the time to milliseconds. You can use date_default_timezone_set to set the base timezone.
View ArticlePHP strtotime gives me a hour to much
I have a datetime in a database table, let's say '2014-08-05 15:12:00'I use this date with strtotime() and convert this to miliseconds. Then on the clientsideI use var date = new...
View Article