better date formatting

remove old code