Improved date and time output