<?php echo substr($d, -9,3) . "." . substr($d, -6, 3) . "." . substr($d, -3, 3);
You have javascript disabled. You will not be able to edit any code.