I have the following dates. How can I remove the day name?
giovedì 12 settembre 2012 => 12 settembre 2012
lunedì 1 gennaio 2011 => 1 gennaio 2011
mercoledì 14 luglio 2013 => 14 luglio 2013
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to remove the first word and the following space in your
$string, where$stringcontains the date you want to edit, you can do:But if you obtain the date using the
date()function, you can format passing arguments, just read the documentation. For exampleshould give you
12 settembre 2012.