getdate(month), the result if this month is June. but i wish to display in Jun. any method can do that ?
Maybe you should just use date() instead. Still, in your case a simple solution would be:
$month = substr($month, 0, 3);
echo date("M")."."; // Echos Jun.