updated exercise 3: get actual current time
refined date to just the year