Date functions do calculations based on Dates, Times, or a type called a DateTime, which is a combination of a date and time.
Dates can represent a day or month of the year, such as January or January 1st, or a specific date, such as January 1st, 2017.
Times can represent a quantity of time, such as one year, or a time of day, such as 12:00 pm.
DateTimes represent a specific date and time, such as January 1st, 2017 12:00pm. However, sometimes functions will return only a date or time as a DateTime type. There will be a default or placeholder value for the other component, which should be ignored.
Functions that input a date accept a Date or DateTime argument. Functions that input a time accept a Time or DateTime argument. To pass text as a date or time to a function, first wrap the text in the DateValue() or TimeValue() function. Some functions can interpret a date or time as a string, but as a general rule, it is better to convert the value first.