Reference date and time by using the TODAY() function
=B2-TODAY()Days from today until the expiry date in B2. TODAY takes no arguments and moves on by itself each day, which is the point: the task wants a value that stays current.
What the MO-211 task asks
In our MO-211 practice exams a TODAY task describes a count of days that must stay current: “show how many days remain on each boiler certificate: the Cert Expiry date minus today, as a whole number”, or “the current date minus the Haul Date … worked out fresh every time the workbook is opened rather than typed in”. “Worked out fresh” rules out typing today's date.
The second half of those tasks matters as much as the first. A date minus a date is a number of days, but when you type =B2-TODAY() Excel gives the result B2's date format, so 67 days first shows as 7-Mar-1900. “As a whole number” means setting the result cells to General (or Number with no decimals).
Our grader checks how the cells are formatted and, in some tasks, that they hold a formula. It cannot check a fixed value, because the right answer changes every day.
Worked examples
Type these into a blank sheet to follow along. Every result below is what Excel showed.
| A | B | C | |
|---|---|---|---|
| 1 | Boiler | Expiry | Days left |
| 2 | B-1 | 31-Jan-2027 | 67 |
| 3 | B-2 | 15-Mar-2027 | 110 |
| 4 | B-3 | 30-Jun-2027 | 217 |
| 5 | B-4 | 1-Oct-2026 | -55 |
=TODAY()The date only, with no time; Excel gives the cell a date format by itself. It moves on whenever the workbook recalculates on a later day.
=TODAY()-B5B-4 expired on 1-Oct-2026. Put the later date first to get a positive count. Typed into a fresh cell, it shows as a date until the cell is set to General.
=IF(B5<TODAY(), "Expired", "Valid")Comparing with TODAY means the label changes by itself on the day a certificate runs out.
=TODAY()+30Adding a number to a date adds days, and the result is still a date.
=B2-TODAY()Days left on each certificate, as at 25-Nov-2026; B-4 has already expired, so it is negative. The video below builds this: typed in, the cells showed dates (7-Mar-1900 for B-1) until they were set to General.
Watch it done in Excel
The last example above, recorded in real Excel on the same grid.
Exam traps
Typed into C2, =B2-TODAY() takes the date format of B2, and the 67 days left on B-1 shows as 7-Mar-1900 (it did when we recorded the video). The value is right and the display is not: set the cells to General, or Number with 0 decimals, when the task says “as a whole number”.
Ctrl+; enters today's date as a fixed value. It looks the same today and is wrong tomorrow, and a task that says “worked out fresh” checks for a formula.
=TODAY()-B2 gives -67 for B-1: days since, not days left. “Expiry minus today” is =B2-TODAY().
TODAY has no time part. A task that wants a date and time stamp is NOW.
FAQ
Does TODAY take any arguments?
No. The brackets stay empty; =TODAY(1) is not a formula Excel will accept.
When does TODAY change?
Whenever the workbook recalculates, including when it is opened on a later day. With calculation set to Manual it waits for F9.
TODAY or NOW?
TODAY for a date, NOW for a date and time. =NOW()>=TODAY() returns TRUE: NOW is today's date plus the time so far.
New to this function?
This page covers what the exam asks. For the full how-to — every argument, more examples and a practice workbook — read our guide on dfwexcel.com.
The TODAY function, explained — dfwexcel.comTry it under exam conditions
Take a full, timed MO-211 practice exam, upload the workbook you built, and get a score out of 1000 with a per-task breakdown of where the points went. Your first one is free.
No credit card needed.
