Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Convert to Military Time

(0) ShareShare
ReportReport
Posted on by
Does any one now how to convert HHMMSS to military time in X++?
 
 
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 7,127 Super User 2025 Season 1 on at
    Convert to Military Time
    Hi @Community User
    If you want your field time and you will use it in other operations, then you can change your timeOfDay field property Time Seconds to No. If you want the value just for display you can use time2strHM
     


     




    Regards,
    Waed Ayyad
     Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 7,127 Super User 2025 Season 1 on at
    Convert to Military Time

    If you want your field time and you will use it in other operations, then you can change your timeOfDay field property Time Seconds to No. If you want the value just for display you can use time2strHM
     


     
    Regards,
    Waed Ayyad
     Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Layan Jwei Profile Picture
    Layan Jwei 7,634 Super User 2025 Season 1 on at
    Convert to Military Time
    Hi Community User,
     
    Did you try time2strHM?
     
    Thanks,
    Layan Jweihan 
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans