added date function to make it easier to enter date of today