My sql datetime format is 0000-00-00 00:00:00 (2008-11-10 11:56:48) if $time="2008-11-10 11:56:48"; how can i get "2008-11-10 11:56" (ignore seconds) help me out thank you