<?php $EndDate ="2017-06"; list($s1,$s2,$s3)=explode("-",$EndDate); Echo $s1 . $s2 . $s3;
You have javascript disabled. You will not be able to edit any code.