<?php $tsLocal = \DateTime::createFromFormat('Y-m-d H:i:s', '2015-01-01 0:00:00')->getTimestamp(); var_export([ 'local' => $tsLocal, ]);
You have javascript disabled. You will not be able to edit any code.