Skip to main content

Enter a date

You enter the date in the field by typing it, by using the calendar window, or by using the field menu, which has Today, Month Beginning and Year End. Choose whichever is quickest for you.

Before you begin​

  • Open the window that has the date field.
  • Know the date format of your program. It is Date Format (PC) in Program Options > Numbers, and by default it is 1-5-2026.
  • The field must not be read-only.

Steps​

By typing​

warning

Type the whole date with the hyphen -. What the program cannot read it completes from today's date, with no beep and no message: letters become today's date, and 15/3/2026 becomes day 15 of the current month. Check the date after typing it.

  1. Click the field.

  2. Type the day, the month and the year with a hyphen between them, such as 15-3-2026. If your format starts with the year, type 2026-3-15. You can type the day alone, or the day and month: 15 is the 15th of this month, and 15-3 is 15 March of this year.

  3. Move to the next field with Tab or Enter.

    The program rewrites the date in the selected format. When you type, the field accepts the day-first order and the year-first order. If the numbers are not a valid date in either order (such as 31-2-2026), it beeps and the date that was in the field comes back. If you clear the text and leave the field, it shows 1-1-1980.

With the calendar window​

  1. Click the calendar button beside the field, or press Alt+Down Arrow.

    A calendar appears under the field, on the month of the date in it.

  2. To go to another month, click an arrow. The short arrow changes the month, and the long arrow changes the year.

  3. To change the year directly, click the month name to show the months view, then click it again to show the years. Click the year, then the month.

  4. Click the day you want.

    The date is written in the field and the calendar closes.

To cancel, press Esc, and the field keeps what it had. The exception is a field that was empty or held 1-1-1980 when you opened the calendar: opening it put today's date in the field, and Esc does not bring the old value back. The Restore button in the calendar takes the calendar back to the date that was in the field before you opened it. The Today button moves the calendar to today's date, then click the day in the grid.

  1. Right-click the field.

  2. Choose one of the date items at the bottom of the menu: Today, Month Beginning, Month End, Year Beginning, Year End or Beginning of Period.

    The field changes at once. The month and year items are computed from the date that is in the field.

    The date field menu with Today, Month Beginning, Month End, Year Beginning, Year End and Beginning of Period at its bottom

With the keys​

  • F2 puts today's date.
  • Up Arrow and Down Arrow change the date by one day.
  • Page Up and Page Down change the date by one month, and with Ctrl by one year.

Leave the field without a date​

If the field has a check box at its edge, clear its mark. The field shows <Without> and is disabled. Tick the box to enter a date again.

Result​

The field shows the date in the program's format, and the window saves it when you save the record or run the report.

If something goes wrong​

SituationWhy it appearsWhat to do
A beep and the old date comes backThe numbers you typed are not a valid date in either order, such as 31-2-2026 (a day or month that does not exist), or the year is 2100 or later.Type the date as numbers with the hyphen -, and check the day and the month.
The calendar did not openThe field is read-only.Change the date from where it can be edited, or ask a user who has the permission.
A beep and the calendar does not moveYou reached the limit of the calendar, 1901 to 2100.Choose a date inside the limits. The last year the field accepts when you type is 2099.
A date you did not type appears (today's date, or a day of the current month)The program could not read a part of what you typed, such as a / separator, and completed it from today's date without a warning.Clear the text and type the whole date with the hyphen -.
The calendar is Hijri and the date is HijriThe option Hijri date is the main date is on in Program Options > Language.Type the Hijri date in the same format, or turn the option off.
The old date stayed after Enter in the calendarEnter closes the calendar and does not choose the day.Click the day with the mouse.

This page applies to alameen ERP 10, version 10.1.79.764.