[turba] Date fields in Turba

James Van Sickle gothbert at spamcop.net
Tue Jun 17 18:01:29 PDT 2003


Hey

   I am working with the CVS Turba and Horde, which is using a MySQL database as
the backend.  I created a new date field and added it to the attribute and
sources PHP files.  No matter what format I save values into this field, it
only displays data as "Wed Dec 31 16:32:56 1969 (12222 days ago)."  Here is how
I setup the date field in the attribute.php file:

$attributes['birthDate'] = array(
	'label' => _("Birth Date"),
	'type' => 'date',
	'required' => false
);

   Could anyone let me know how I can get the date field to show up properly on
an address book entry display?

-James




More information about the turba mailing list