Forum OpenACS Q&A: Re: ad_form, ad_page_contract, and dates

Collapse
Posted by Dave Bauer on
Janine,

Use template::util::date::get_property to transform the date. In this case I would suggest ansi which will give you a usualy "YYYY-MM-DD" timestamp that is easy to pass around.

You should not need to access the individual elements of the date. In your case you would pass the value of "birthday" into that procedure. You could also pass the list in birthday to the next page as well.