Problems with date format

ISG1883 25 Sep, 2009
Hi,

I am having problems changing the displayed date format. I am using chronoforms to capture the data and chronoconnectivity to display it.

It is captured and stored on the database as a date type in the format 2009-11-01

When I use chronoconnectivity and display the date as is I get the same format. However I would like to display it as d F Y.

I have tried using the following:

<?php  echo date('d F Y',strtotime($row->wcdate)); ?>


but all I get returned is 31 December 1969

Any ideas?
ISG1883 27 Sep, 2009
No ideas anyone?
GreyHead 28 Sep, 2009
Hi ISG1883,

Assuming that you are doing this in the 'body' section of a recent ChronoConnectivity release then I think you need to use $MyRow->wcdate

The syntax was changed because there were problems with too many '$row's

Bob
ISG1883 28 Sep, 2009
Thanks GreyHead that works great!

I really appreciate your help.
This topic is locked and no more replies can be posted.