Changes time output
Renders date and time right if no value given