FitNesse

TodaysDate

To diplay todays date:

Markup Text
Displayed as
Today is !today. Today is 14 Nov, 2026.
XML is !today -xml. XML is 14 Nov, 2026 -xml.
Right now it is !today -t. Right now it is 14 Nov, 2026 -t.
Tomorrow is !today +1. Tomorrow is 15 Nov, 2026.
Last week was !today -7. Last week was 07 Nov, 2026.
The month is !today (MMM). The month is Nov.

As you can see, you can add or subtract days. You can include the time tiwh -t. And you can use your own format for the time. (See SimpleDataFormat for the syntax.)

Keyboard Shortcuts ?

×
  • t Test
  • e Edit page
  • a Add new page
  • p Properties
  • w Where used?
  • / Focus on search bar
  • s Open search page
  • g u Go to User Guide