<?php $chaine = '2014-02-21'; echo substr($chaine, 0, 3);
You have javascript disabled. You will not be able to edit any code.