programming-examples/php/String/PHP script to split the following string..php
2019-11-15 12:59:38 +01:00

4 lines
82 B
PHP

<?php
$str1= '082307';
echo substr(chunk_split($str1, 2, ':'), 0, -1)."\n";
?>