I'm wondering how to make the datelines looks like the same.
e.g
2007-7, 200707 => 2007-07
Thanks!
I'm wondering how to make the datelines looks like the same.
e.g
2007-7, 200707 => 2007-07
Thanks!
You can try with below script...
echo date('Y-m', date()); or echo date("M-d-Y", mktime(0, 0, 0, 7, 0, 2007));