[Typo3-dev] ['ctrl']['label'] generated by a function?

Juergen Egeling egeling at punkt.de
Fri Jul 2 08:44:52 CEST 2004


* Thomas Murphy <murphy at thepanemgroup.com> [040630 13:53]:
> my problem: The label field in my extension should be a date-string. 
> It's only shown by it's equivalent mysql or unix-timestamp...

what about letting MySQL doing the job?
  select DATE-FORMAT(date_field,"%Y-%m-%d");

> I would like to parse it through some kind of date() function, to show 
> it in readable form.

MySQL has several.

have fun
Juergen
-- 
punkt.de GmbH               Internet-Dienstleistungen-Beratung
Vorholzstr. 25              Tel.: 0721 9109-0  Fax: -100 
76137 Karlsruhe             info at punkt.de    http://punkt.de/





More information about the TYPO3-dev mailing list