|
|
The Excel TODAY Function
Basic DescriptionThe Excel Today function returns the current date. The function has no arguments and therefore, the syntax of the function is simply:
TODAY()
Today Function ExamplesThe following spreadsheets show 2 simple examples of calls to the Today function, which were made on 6th January 2011. 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 31-Dec-2009. The spreadsheet on the left shows the format of the formulas and the spreadsheet on the right shows the results.
Further information on the Excel Today function can be found on the Microsoft Office website. Today Function Common ProblemThe following problem is encountered by some users of the Today function: Common Problem
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. Possible Reason
This problem 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:
|
||||||||||||||||||||||
|
|
Copyright © 2008-2011 ExcelFunctions.net |