giveTime function displaying proper time
formatTimeURl is recieving url