Announcements
time2Str(theTime, TimeSeparator::Colon, TimeFormat::AMPM)
I have used this syntax to for time but I want to Omit AMPM from this format Kindly anyone with format HH:MM:SS only.
Do you mean that you want the 24-hour format (e.g. 18:00:00) or the 12-hour format without AM/PM (therefore both 6 AM and 6 PM will be shown as 06:00:00)?
By the way, let me change your title, because "D365 Finance and Operation" doesn't say what your thread is about. And please use D365FO forums (such as Dynamics 365 Finance Forum), not the AX forum, for questions about D365FO).
André Arnaud de Cal...
294,118
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator