#6 Set custom date and time. Small refactoring.