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