[Solved] How to Convert Date String into Different format? [duplicate] September 6, 2022 by Kirat [ad_1]Try using the strtotime function to turn your string into a timestamp and the date function with the F Y format to get what you want:$date = "2018-01-01"; $formatted = date("F Y", strtotime($date)); 0[ad_2]solved How to Convert Date String into Different format? [duplicate]