I agree that dates should be selected from the database as a string
and not as a number or some other Oracleism. YYYY-MM-DD is an okay
format for just the date, but a better standard would be YYYY-MM-DD
HH:MM:SS. The extra time information can just be thrown away by the
date formatting procs if it is not needed.