[Typo3-dev] default date

Ursula Klinger klinger at punkt.de
Wed Oct 20 09:28:45 CEST 2004


Hello List,

thanks for your help Jan and Christian. The idea of Jan was not the
solution, but I think it will helps in further extension. The mail of
Christian to my problem is no more in the mailing list, because there was
a problem last week. So I repeat the idea of Christian:
set the default field to strtotime('+1 year'),
"config" => Array (
    "type" => "input",
	"size" => "8",
	"max" => "20",
	"eval" => "date",
	"default" => strtotime('+1 year'),
)

It works fine, thank you.

Ursula





More information about the TYPO3-dev mailing list