Minor fix

Fixed a setDateToday function