This topic is locked

Long date format - removing day of week

6/24/2008 8:14:20 AM
PHPRunner General questions
S
SJWilson author

On my list page I have the date format set to Long. It is now appearing like this:
Monday, June 23, 2008
my client wants this:
June 23, 2008
How do I get the day of the week out of the date?

J
Jane 6/24/2008

Hi,
use custom format for this field on the "View as" settings dialog on the Visual Editor tab.

Here is a sample:

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

S
SJWilson author 6/24/2008

Hi,

use custom format for this field on the "View as" settings dialog on the Visual Editor tab.

Here is a sample:


Jane - thank you so much! This is exactly what I needed.