string parsing in a template

From: Date: Wed, 12 Feb 2003 21:27:23 +0000
Subject: string parsing in a template
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7699@lists.php.net to get a copy of this message
Hi I haven array of objects from a database query. One of the fields is a date field but not using a date type, but simply a strin like 20030212. What tools do I have in Smarty to parse this to display 12.02.2003? Would this be a place to use the new object feature? Something like {$current->parsedate($date)} would be great. I just don't know how to start with this?

« previous php.smarty.general (#7699) next »