formatted time. Still need to add 00:00:00
added leading zero to times to ensure 00:00:00