explode()
A Anonymous Guest Dec 19, 2003 #2 Another way is to use the date / strtotime functions. $str = "2003-12-31"; print(date("m",strtotime($str))); Also, I believe there is a Year() Month() Day() functions within SQL that would return back those individual values as seperate fields.
Another way is to use the date / strtotime functions. $str = "2003-12-31"; print(date("m",strtotime($str))); Also, I believe there is a Year() Month() Day() functions within SQL that would return back those individual values as seperate fields.