This topic is locked

Date Format

5/25/2009 5:31:22 AM
PHPRunner General questions
P
piobote author

Dear all,
In visual editor How can I change the format of my date field (YYYY MM DD) into MMMM YYYY
Example: 2009-05-25 = May 2009 and in french = Mai 2009
Thanks

J
Jane 5/25/2009

Hi,
use custom format on the "View as" settings dialog on the Visual Editortab.

Here is a sample:

$value = date("F Y",strtotime($value));