In Appian you can store a point in time using a variable with a Date and Time data type, which differs from the Date data type and the Time data type.
Date
DateTime
Time
How is it saved in the database?
Date data is stored as entered without conversion to a time zone.
Datetimes are saved from Appian in the database in GMT.
Time data is stored as entered without conversion to a time zone.
How does it display on a SAIL form?
Appian will read a date as it is stored in the database without any conversion based on timezone.
Appian will read a dateTime and display it in the logged-in-user’s specified timezone.
Appian will read a time as it is stored in the database without any conversion based on timezone.
Possible Display Formats on a SAIL form
January 1, 2000
01/01/2000
2017-01-01: 05:00:00
2:00 pm
14:00
All Date and Time values (also called Datetime values) are stored in Greenwich Mean Time (GMT) in the database, and all Date and Time functions assume values passed to them are in GMT.
If a function expects a Date and Time value, and you pass it a date, the date is automatically converted to a Date and Time value, using 12:00 am for the time component.
When Datetime values are presented to users in the interface, they are always adjusted to the current user's time zone. This may cause the expected output to vary significantly. Additionally, the acronym of the user's local time zone (such as EDT) is appended to a displayed Datetime value when it appears in a form, an alert, or in an email.
See also: Data Types
For more information on setting your time zone, see also: Configuring the Default Language and Timezone
For the full list of Appian Functions, see also: Appian Functions