Date format

A place to discuss and receive support for the Web Auction application.

Date format

Postby Deluxe » Tue Feb 26, 2013 1:32 am

Hi, i've been searching an way to solve my problem since some times right now, but it's only partially fixed.
I want to edit the US date format to EU format, so i used this method that you given in another topic :

function Date_emmenagement__display(&$record)
{
return date('d/m/Y', strtotime($record->strval('Date_emmenagement')));
}

The problem is that when there is no date in the field, it put automatically the date '01/01/1970' and i would that if there is no date, it stay with no date.
I hope i'm clear, thanks for support !
Deluxe
 
Posts: 6
Joined: Tue Feb 26, 2013 1:26 am

Return to Web Auction Discussion

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved