easier way to format timestamps