Document Editing Problems

How to Add 28 Days to the Current Date in Word Field Codes

Chanuka GeekiyanageChanuka Geekiyanage Nov 3, 2026 868 views

Question details

The user needs to calculate and display a date exactly 28 days in the future using Microsoft Word field codes without relying on VBA macros.

How to Add 28 Days to the Current Date Using Word Field Codes
Product
Microsoft Word
Device & OS
not provided
Scenario
Creating dynamic documents, such as invoices, notices, or contracts, where a specific future date (like a 28-day deadline) needs to automatically calculate based on the current date.
Observed behavior
Word's default date fields only show the current date, requiring complex field code expressions or specialized templates to perform date arithmetic like adding days.
Before you start

Ensure you have your Word document open and are comfortable working with field codes (toggled by pressing Alt + F9). Native date arithmetic in Word is complex, so using a trusted calculation template is highly recommended over writing the code from scratch.

Solution 1Recommended

Use a Date Calculation Template (Macropod's DateCalc)

Utilizing a pre-built date calculation solution is the most reliable way to add days to a current date without distributing complex VBA macros.

Microsoft Word does not have a native, simple '+28 days' function for date fields. Complex field codes must be constructed to account for leap years, month lengths, and year changes.

Using a widely accepted community resource like Paul Edstein's (Macropod) Date Calculation Tutorial saves time and prevents calculation errors in your documents.

1
Download the Tutorial Document

Search online for and download the 'Microsoft Word Date Calculation Tutorial' by Paul Edstein (Macropod).

2
Locate the Correct Field Code

Open the downloaded document, read the introductory material, and locate the specific field code example for 'Adding or Subtracting Days to the Current Date'.

3
Copy the Field Code

Highlight the entire field code block provided in the tutorial for this calculation and copy it (Ctrl + C).

4
Paste into Your Document

Navigate to your target Word document and paste the field code (Ctrl + V) where you want the future date to appear.

5
Modify the Delay Variable

Find the delay variable within the pasted field code and change the number to '28' so it adds exactly 28 days to the current date.

6
Update the Field

Select the field and press F9 to update it, then press Alt + F9 to hide the field codes and display the calculated future date.

Use a Date Calculation Template (Macropod's DateCalc)
Tip: By using field codes instead of VBA macros, you avoid macro security warnings when sharing the document with others.
Free Microsoft Office alternative

Experience Seamless Document Editing with WPS Office

While complex date calculations in Word require extensive field codes, managing your daily documents shouldn't be a hassle. WPS Office offers a powerful, lightweight, and highly compatible suite for all your word processing needs, serving as an excellent alternative to Microsoft Office.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the installer and follow the on-screen prompts to set up WPS Office on your device.
  3. 3. Open Your Word Document: Launch WPS Writer and open your existing .docx files directly, enjoying full format compatibility and familiar editing tools.
Highly compatible with Microsoft Word formats (.docx, .doc)Lightweight design ensures fast loading and smooth performanceFamiliar user interface requires no learning curveBuilt-in PDF editor and comprehensive toolkitCompletely free core features for everyday use
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I just type '=TODAY()+28' in a Word field code?

Unlike Microsoft Excel, Word's formula fields do not support native date arithmetic functions. You must use complex IF fields to calculate leap years, month lengths, and year rollovers manually, or use a pre-built field template to handle the logic.

How do I toggle the visibility of field codes in Word?

You can toggle between viewing the field code formulas and their results by pressing 'Alt + F9' on your keyboard. To update a field's result after editing, select it and press 'F9'.

Are macros required to add days to a date in Word?

No, macros (VBA) are not strictly required. You can use nested field codes to perform the calculation, which is often preferred because it avoids macro security warnings and distribution issues when sharing the document.

Will the calculated date update automatically when I open the document tomorrow?

Yes, if the field code is based on the '{ DATE }' or '{ TIME }' field, it will dynamically calculate 28 days from the current system date whenever the fields are updated in the document.