Changed date format to be in numeric order

Removed some unneeded code.