Date and time
SummaryValidates and stores a date and a time value.
|Name||Internal name||Searchable||Information collector|
|Date and time||ezdatetime||Yes.||No.|
This datatype allows the validation, storage and retrieval of a date/time value. It is capable of storing a date/time consisting of a year, month, day, hour and minute value. The following screenshot shows the class attribute edit interface for this datatype.
Class attribute edit interface for the "Datetime" datatype.
The "Default value" parameter can be used to control the initial value of an attribute using this datatype when a new object is created. There are three options:
- Current datetime
- Adjusted current datetime
The default setting is "Empty", which means that when a new object is created, the attribute using this datatype will be empty. If the "Current datetime" option is used, the current date and time will be set. If the "Adjusted datetime" is used, an adjusted value of the current date and time will be set. How much the current date and time should be adjusted must be specified using the fields within the "Current datetime adjusted by" group.
Current datetime adjusted by
The fields within this group can be used to specify the desired date/time adjustment when the ("Adjusted current datetime") option is used. Both positive and negative numerical values are allowed. If the values given in the example above are used and an object is created at 00:00 on the first of January 2005, the initial value of the attribute will be set to 04:05, third of February, 2006.
Object attribute edit interface
The following screenshot shows the object attribute interface for this datatype.
Object attribute edit interface for the "Date and time" datatype.
Balazs Halasy (21/02/2005 2:36 pm)
Balazs Halasy (29/04/2005 11:04 am)