Select to view content in your preferred language

Time format feature reports

143
3
12-05-2024 08:06 AM
ChrisHertel
Emerging Contributor

Hello, my feature reports keep showing time in 24 hour format.  I am trying to show time in a 12 hour format.  Currently, using ${time | format: “h:m”}.  This passes the syntax check, but I cannot generate a report without getting an error.

0 Kudos
3 Replies
ChrisHertel
Emerging Contributor

Error reads failed to parse since format not supported by current field.

0 Kudos
rcGIS
by
Regular Contributor

Hello @ChrisHertel, have you tried using ${datetime ? See below an example:

${datetime | format:"h:mm"}

You might also want to check this previous Esri Community post.

0 Kudos
ChrisHertel
Emerging Contributor

Unfortunately that does not work.  My field name is time, not datetime.

0 Kudos