Better still,
print date_field(
-name ="expiry",
-value="2000-12-25");
so that if value is omitted, the current value will be used.
But date format will be a great concern.
And how about time_field() also?
Sorry for the annoyance.
Original Message
Subject: [OT]
I think that both the date_field and the time_field idea are good ones
but how are you going to localize them? The different formats for date
and time might be a bit of a hassle. But you might be able to have
date_field return an array of 3 fields as is done with the check box
constructor.