Set default value of time if no time present