Skip to main content
Known Participant
February 15, 2021
Question

How to take only time input.

  • February 15, 2021
  • 4 replies
  • 1 view

There are two datatypes in Appian: dateTime and date.

How can we take only time as input?

    4 replies

    mikes0011
    Brainy
    February 15, 2021

    "Time Only" is tricky since it's hard to store it as data without a date to put it into context. 

    What's your use case?  Why not just save a text value, for example?

    The Expression Guru
    ayushimAuthor
    Known Participant
    February 15, 2021

    I don't want to type time value as text. I want to select it as timefield.

    mikes0011
    Brainy
    February 15, 2021

    There isn't a plain "time field" due to the reasons I mention above, but you could always just give the user a pair of dropdowns (that is, one for the hour value and one for the minute value), with the minute values in whatever granularity you'd like to allow (i.e. an entry for every minute, or for every 5 or 10 minutes, etc).

    The Expression Guru