Minor correction to 'getDateAndTime()'