-3

This is where I will select date.

<input type = "date" name = "date" id = "date" placeholder = "select date">

If I select date the value is something like this 01/01/2016 and what I want is to turn it to January 1 2016. How do i do that?

Federkun
  • 36,084
  • 8
  • 78
  • 90
Lenra
  • 1
  • 1

1 Answers1

0
date('l jS \of F Y');

You can add also hour minutes ...

date('l jS \of F Y h:i:s A');
AK47
  • 11
  • 5