formatdate

a little bit more than just strftime