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).
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156