Free cookie consent management tool by TermsFeed

hour() Function

Function

hour( time )

Returns the hour from the time specified.

Parameters

Keyword Type Description

time

Time

A time or date & time value from which the hour is extracted.

Returns

Integer

Usage considerations

The hour is expressed in 24-hour time (0 for midnight, 13 for 1 PM).

No time shift occurs.

Examples

hour(time(14,20,23)) returns 14

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Sync-Time Custom Record Fields Compatible

Can be used to create a custom record field that only evaluates at sync time.

Real-Time Custom Record Fields Incompatible

Custom record fields that evaluate in real time must be configured using one or more Custom Field functions.

Process Reports Compatible
Process Events Compatible
Process Autoscaling Compatible

Feedback