lilywong Posted April 18, 2006 Share Posted April 18, 2006 i have a date, 11/11/2006,i want it to be 11112006,anyone know how to remove the "/", thanks. Quote Link to comment https://forums.phpfreaks.com/topic/7698-how-to-remove-in-date/ Share on other sites More sharing options...
redbullmarky Posted April 18, 2006 Share Posted April 18, 2006 [code]$date = str_replace('/', '', $date);[/code]should do the trick nicelycheersMark Quote Link to comment https://forums.phpfreaks.com/topic/7698-how-to-remove-in-date/#findComment-28081 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.