0

Let's say for instance I have a date that is sent to me like this: 2011-12-14 16:28:14

How can I remove the time at the end and only keep the date using php?

Any help would be appreciated.

Jason Bassett
  • 1,281
  • 8
  • 19
  • Yes, which most articles I have found are pertaining to converting the entire date and time into another format. I simply want to exclude the time and only use the date. – Jason Bassett Dec 16 '14 at 02:09
  • 1
    **Without converting: [demo](https://eval.in/235233)** – Glavić Dec 16 '14 at 07:06

0 Answers0