made date formatting a lot shorter