Forum OpenACS Development: Response to Date formats in OpenACS

Collapse
Posted by Ed Avis on
A good standard date format is YYYY-MM-DD (the ISO 8601 standard). Writing 'June' is okay, but you need to know English. But of course any such conversion should probably be encapsulated in a proc that produces pretty dates, and users should be able to change it. Probably best to retrieve the date from the database just in one single format (YYYY-MM-DD HH:MM:SS), and do any munging into the pretty date using a Tcl proc. That is more flexible and more portable.