<?php function GetMonthFromMySQLString($mysql_datetime) { return date('Y-m', strtotime($mysql_datetime)); } echo GetMonthFromMySQLString("2011-01-26 18:29:09");
You have javascript disabled. You will not be able to edit any code.