DateTime issue with PHP - Storing Specific Date
I'd like to be able to store the following data inside a variable:
'Current Year-Current Month-10' (so i.e. 2013-9-10)
Currently, I'm using: echo date("Y-m-d");
But this (as expected) displays the current Day, not 10 as I need it to.
Any help with this would be great.
No comments:
Post a Comment