Skip to main content

Date calculator and date shortcuts

The date calculator lets you enter dates using natural shortcuts instead of selecting them manually. This makes editing issue dates and due dates faster and more flexible.

Alex avatar
Written by Alex
Updated over a week ago

What this article covers

  • How date shortcuts work in Datamolino

  • Which shortcuts you can use

  • How the date field handles incorrect values


What are date shortcuts and what problem do they solve?

Date shortcuts allow you to type short, natural expressions into a date field to calculate a date automatically. This reduces manual clicking and helps you set dates relative to today or an existing value.

When you press Enter or click outside the field, Datamolino interprets the shortcut and replaces it with the calculated date.


Where can I use date shortcuts?

You can use date shortcuts to edit the issue date or due date on the document detail page.


How do basic relative date shortcuts work?

Basic shortcuts calculate a date relative to today. Datamolino evaluates the shortcut and immediately converts it into a concrete date.

You can use:

  • t – today

  • yes – yesterday

  • tom – tomorrow


How do weekday-based shortcuts work?

Weekday shortcuts calculate the date based on the next or previous occurrence of a weekday.

You can use:

  • next mon/tue/wed/.../sun – next occurrence of the weekday

  • last mon/tue/wed/.../sun – previous occurrence of the weekday

Datamolino calculates the date based on today and replaces the input with the resulting date.


How do week, month, and year shortcuts work?

These shortcuts move the date forward or backward by a full time unit.

You can use:

  • next w / last w – next or last week

  • next m / last m – next or last month

  • next y / last y – next or last year

Datamolino calculates the date based on today and replaces the input with the resulting date.


How do month-name shortcuts work?

Month-name shortcuts set the date to the same day in a different month.

You can use:

  • next jan/feb/mar/.../dec – same day in a future month

  • last jan/feb/mar/.../dec – same day in a past month

Datamolino calculates the date based on today and replaces the input with the resulting date.


How do numeric shortcuts work?

Numeric shortcuts let you define dates or offsets using numbers.

You can use:

  • [number] (for example, 10) – sets the given day in the current month

  • +[number] (for example, +10) – sets a date X days from now

  • -[number] (for example, -10) – sets a date X days ago

  • *[number] (for example, *10) – sets the X-th day of the next month

Datamolino calculates the date relative to today.


How do duration shortcuts work?

Duration shortcuts calculate a date by the desired number of days, weeks, months, or years from today.

You can use:

  • +3d / -3d – days

  • +3w / -3w – weeks

  • +2m / -2m – months

  • +10y / -10y – years

Datamolino calculates the date relative to today.


How does Datamolino interpret typed date formats?

You can also type dates directly using flexible formats.

All of the following are interpreted as 22 May:

  • 22-05

  • 22/05

  • 22-may

  • may-22

  • 05-22 - For English-US language setting

  • 05/22 - For English-US language setting


Can I use “past” instead of “last”?

Yes. The word past works as an alias for last in all supported shortcuts.


How do Slovak language variations work?

Datamolino supports Slovak month and weekday variations and automatically matches them to the correct date.

Examples include:

  • 10-jun, 10-jún, jun-10, jún-10

  • jun.10, 10.jun, jún.10, 10.jún

  • next jún, last okt

  • next mon, last po

  • next fri, last pi


What happens if I enter an invalid date or shortcut?

If you enter an invalid value or shortcut, Datamolino does not default to today. Instead, it restores the last valid date.

This works as follows:

  1. The field starts with an initial valid date.

  2. You enter an invalid value and confirm it.

  3. The field reverts to the most recent valid date it remembers.

Did this answer your question?