Date problem [Solved] |
[eluser]R_Nelson[/eluser]
I have a date stored in the DB as year-month-day (example: 2011-6-5) when i display it i want Jun-5-2011 i know date dose this but i cant find how i can put in my variable. I know i should know this and ive googled it but i just don't seem to be finding my answer! I fixed it with Code: $created_on = date('M-d-Y',strtotime($created_on));
[eluser]Unknown[/eluser]
The start date is stored in the database, I did myself there zanoshu format year.month.day and cling to her paper, ie goes as follows documen and newst1 was created 2006.10.03. This date should be compared with the current and if the difference between 2 years to remove, how to do this? |
Welcome Guest, Not a member yet? Register Sign In |