<?php $string = "20181011000000GMT+0800"; $dt = DateTime::createFromFormat('YmdHisO+', $string); echo $dt->format('c');
You have javascript disabled. You will not be able to edit any code.