วันที่

Article Number:040521

Placing a "Date" field on your app form creates an input field for entering dates in the "month-date-year" format.

Screenshot: Example of a "Date" field

If you click a date input field on the "New Record" or "Edit Record" screen, a calendar appears from which you can choose a year, month, and day. You can change the year and month of the calendar from the year and month drop-down lists.
You can also use your keyboard to directly enter a date in the input field.

Screenshot: A calendar is displayed on the "New Record" screen

"Date" field settings

Screenshot: The settings screen of a "Date" field

ชื่อ

ระบุชื่อฟิลด์ ชื่อฟิลด์จะแสดงเป็นป้ายกำกับของฟิลด์ในแอป

ซ่อนชื่อฟิลด์

การเลือกช่องทําเครื่องหมาย ซ่อนชื่อฟิลด์ จะซ่อนชื่อฟิลด์บนหน้าจอต่อไปนี้ จะซ่อนชื่อฟิลด์บนหน้าจอต่อไปนี้

  • หน้าจอ "บันทึกใหม่"
  • หน้าจอ "แก้ไข บันทึก"
  • หน้าจอ "รายละเอียดบันทึก"
  • หน้าจอสำหรับพิมพ์บันทึก
  • หน้าจอการตั้งค่า แบบฟอร์ม

ฟิลด์ที่ต้องระบุ

Selecting the ฟิลด์ที่ต้องระบุcheckbox makes specifying a field value mandatory.

ห้ามใช้ค่าซ้ำ

Selecting the ห้ามใช้ค่าซ้ำ checkbox prohibits the same date value from being specified in multiple records.

Default Value

This setting lets you set a default field value.

If you want to make the default field value the date when the record was created, select the Default to the record creation date checkbox .
If you want to enter a different date as the default value, uncheck the Default to the record creation date checkbox and enter the date of your choice in the input field.
If you do not want to set a default value, uncheck the Default to the record creation date checkbox and leave the date input field blank.

รหัสฟิลด์

สตริงอักขระที่ใช้ในการระบุฟิลด์ใน API

ตัวอย่างการใช้งาน

Use a "Date" field when you want an input field for entering a date. For example, you can use a "Date" field in the following ways.

  • As a field for entering a date of use in a transportation expense approval app or an app for requesting approval for other expenses
  • As a field for entering a reply deadline in an inquiry management app
  • As a field for entering an activity date in a case management app

Screenshot: An example of a "Date" field being used as a field for entering an activity date

Use a "Date" field to calculate deadlines

Since "Date" fields can be specified in formulas, you can set a formula for displaying a reply deadline of two days after the date in the "Date" field.

In this example, the formula is set in a "Calculated" field.
Place a "Date" field and a "Calculated" field on your app form, specify the following formula in the "Calculated" field, and set the calculation result to be displayed as a date.

เนื้อหาได้รับการคัดลอกแล้ว
Date+(60\*60*24)*2

For more information on "Calculated" fields, refer to Calculated.
For information on how to calculate dates, refer to Calculation of Date, Time, and Date and Time.