File delivery template time token in 24 hr format

Hi,

We have set up a scheduled data file delivery to S3. We can templatize the file name byt using the various mustache template tokens. Of interest to us is the {{currentTime}} token. We have searched an did not find a 24 hour version of this. This is useful for sorting. If it is not available, any plans on adding this?

Thanks,

A. Gomez

Hello A. Gomez,

Sam from Omni Support here. We don’t currently have a way to display CurrentTime in 24h format. When you say it’s helpful for sorting, can you expand on that a bit more?

Would it work to export each delivery as {{CurrentDate}}/{{CurrentTime}} instead?

Hi Sam,

Thanks for the quick response.

Yes, exactly it would be for file delivery in our case, or anything that uses the mustache templates.
For example: myFile_{{CurrentDate}}_{{CurrentTime24}}.csv

I could then take a set of those files and easily sort them in a list so I could pick them off in order one by one. Whereas in regular 12 hour time, where 01:00 PM lands before 11:00 AM.

other reasons:
– cron, EventBridge, Airflow, use 24-hour time, so writing runbooks the same way avoids conversion errors.
– S3 prefixes like dt=2026-10-19/hr=14 and time columns in warehouse tables sort and partition cleanly.

-- Cross-timezone coordination: “14:00 UTC” can’t be misread the way “2:00” can, and there’s no noon/midnight confusion (12:00 AM vs 12:00 PM).

-- Time math: durations and differences are simple subtraction, with no AM/PM rollover logic.

– Avoids the quirky Omni format of SPACE char after the time

Thanks again Sam,

--Tony

Hey Tony, this is great input, thank you! I’ll talk with the team and keep you posted on updates.

2 Likes

Hi Tony, our team just merged a change so that we now support {{currentHour}} and {{currentHour24}}. It should be live in the next hour or two. Please let me know how it goes!

2 Likes

Nawice!! Thanks Sam!

Hi Sam,

Not sure I’m missing something, but I just tried the new 24 hour time template {{currentHour24}} and it is just the hour. I was looking for the full time in 24 hr format. I’m not seeing minutes and seconds or their respective templates avaliable.

Just having the hour overwrites prior files within the last hour.

Please advise.