<?php function from_12hr($time) { return DateTime::createFromFormat('h:i A T', $time . ' UTC')->format('H:i'); } var_dump(from_12hr('00:00 AM'));
You have javascript disabled. You will not be able to edit any code.