Skip to main content
Question

Convert 12 hour time - time frame to 24hr

  • October 30, 2025
  • 3 replies
  • 42 views

Forum|alt.badge.img+2

Hi! Trying to figure out how to make a field that turns these times into a 24hr format. I’ve tried 2 different time formats examples (01:00 PM - 7:30 PM) as well as (3-8 PM). I’m have a hard time figuring out a formula that will display that in a 24hr format? Any ideas? 

3 replies

TheTimeSavingCo
Forum|alt.badge.img+31

How does this look?

DATETIME_FORMAT(
DATETIME_PARSE(
TRIM(LEFT({Text field}, FIND("-", {Text field}) - 1)),
"h:mm A"
),
"HH:mm"
)
&' - '&
DATETIME_FORMAT(
DATETIME_PARSE(
TRIM(
SUBSTITUTE(
{Text field},
LEFT({Text field}, FIND("-", {Text field})),
""
)
),
"h:mm A"
),
"HH:mm"
)

 


Forum|alt.badge.img+2
  • Author
  • New Participant
  • October 30, 2025

Returning an #error


TheTimeSavingCo
Forum|alt.badge.img+31

Could you provide a screenshot of your table please?