Date field

From Memento Database Wiki
Revision as of 16:21, 10 January 2017 by UnConnoisseur (talk | contribs)
Jump to navigation Jump to search
« Page as of 2017-01-10, editions Mobile 4.2.1, Desktop 1.0.7 »

A Date field may contain a value that is used to represent a particular calendar date -- specifically, the value stored is the same as that used by Unix and Linux systems to represent dates, which is the number of seconds before or since January 1, 1970.

This value allows date arithmetic to work readily, by merely doing integer arithmetic with the value.

When a date value is interpreted for import, expert, or display in years, months, and days, the current locale is used. The format for import and export can be specified in program settings.

Name
Textual, case-insensitive field identifier that can include spaces; it's best to avoid characters that can be used as operators, though (standard across all field types)
Hint
Textual, case-insensitive field identifier that can include spaces

Advanced Parameters

Default Value
By default, there is no default value. Alternatively, the default may be set to the current date as of entry or edit of the field within an entry.
« The Date formats parameter applies to the mobile {{{3}}} edition only »
Date formats
The format may be specified explicitly. Selecting Date formats causes a card to appear in which these properties may be changed:
Language
The language/locale may be set.
Short date
The user may select among a number of choices for the short form of a date.
Long date
The user may select among a number of choices for the long form of a date.
Required
Make entry of a value mandatory before saving an entry

Display Options

Display in the list as
Select among the following roles for the current field in the entries list:
  • As a Regular field
  • As an Entry Name
  • As an Entry Description
  • As an Entry Status
The field name
Display the name of the field in the card entry (By default, On). By this, it is meant that the field name will or will not be displayed on either the Entry View card or the Entry Edit card.
Font
Choices are:
  • Family: Regular, Light, Condensed, Thin, Medium. By default, Regular.
  • Style: Normal, Bold, Italic, Bold Italic. By default, Normal.
  • Size: By default, 18. Direct entry to change.
  • Color: By default, White. Palette of 20 colors, backed up by a continuously variable color chooser.
Dependencies
Ability to add one or more visibility dependencies upon fields with qualifying types.