Need to check ID cards or a date X amount of time in the past (or future)? You can add a Previous Date Sale Key to the Sell Screen.
Setting up the Sales Key
- Select the Menu icon
- Select Setup
- Select Sale Keys
- Select the Sales Keys you wish to edit or create a new set
- Resize your existing Sales Keys to make room for a new button
- Select Add Sale Key
- Fill in Key Text with the name of your sales key (e.g. ID Check)
- Scroll down to Key Action and change the setting to View a Previous Date
- In the box titled Duration Ago type the period you wish to view
- We use the ISO 8601 Format to define periods, view below for a detailed breakdown on how this works
- To display a date 18 years ago enter P18Y
- To display a date 21 years ago enter P21Y
- Select your background and text colour settings for your new key
- Click Save
ISO 8601 Period Format
We use the ISO 8601 Period format to define periods as it is a standard measurement for time periods.
The format always starts with the letter P (for Period), it is then followed by a numerical value (e.g. 18) and then followed by a period designator (e.g. Y for years), these can then be followed by more values and designators.
- P is the duration designator (for period) placed at the start of the duration representation.
- Y is the year designator that follows the value for the number of years.
- M is the month designator that follows the value for the number of months.
- W is the week designator that follows the value for the number of weeks.
- D is the day designator that follows the value for the number of days.
- T is the time designator that precedes the time components of the representation.
- H is the hour designator that follows the value for the number of hours.
- M is the minute designator that follows the value for the number of minutes.
- S is the second designator that follows the value for the number of seconds.
For example, "P3Y6M4DT12H30M5S" represents a duration of "three years, six months, four days, twelve hours, thirty minutes, and five seconds".
For more information on ISO 8601 you can check out this Wikipedia article
Comments
0 comments
Please sign in to leave a comment.