The Excel TODAY Function
Related Function:NOW function
The Excel Today function returns the current date. The function has no arguments and therefore, the syntax of the function is simply:
Today Function Examples
The following spreadsheets show 2 simple examples of calls to the Today function, which were made on 1st September 2015. The first example shows the function used alone, and the second example shows the function used as a part of a formula that calculates the number of days that have passed since 01-Jan-2013.
|2||01-Jan-2013||=TODAY() - A2|
Further information and examples of the Excel Today function can be found on the Microsoft Office website.
Today Function Problem
The following problem is encountered by some users of the Excel Today function:
When you attempt to subtract another date from the result the Today function, (as in cell B2 of the example above), the result looks like a date (eg. "16/11/1900"), instead of returning an integer.
This problem often arises because the new cell or column is formatted as a 'date'. In this case, it is only the formatting of the cell that is wrong, NOT the value returned by the function.
To correct this:
- Highlight the cell(s) with the incorrect formatting;
- Right click with the mouse;
- Select the Format Cells ... option and ensure the Number tab is selected;
- Under the Category heading, select the option General and click OK.