Question #6800223

Date format help in php?

I have stored date in mysql using php which is in y-m-d format so when i fetch data from the database it will display 2013-03-18 i want it in dd-mm-yyyy format hwo can i fetch in required format?

2013-05-28 10:35:16

TELL US , if you have any answer

Sponsored ads

There is NEVER a problem, ONLY a challange!

The is a free-to-use knowledgebase.
  The was started on: 02.07.2010.
  It's free to register. Once you are a registered user, you can ask questions, or answer them.
  (Unless registration you can just answer the questions anonymously)
  Only english!!! Questions and answers in other languages will be deleted!!

Cheers: the PixelFighters


C'mon... follow us!

Made by, history, ect.