Hi Nuzza,
You can change time formats in Windows settings.
Open Settings > Time & language > Language & region > click on Regional format to expand it > Change formats.
Choose a time format without AM and with or without a leading zero.
If you want to use your own custom time format, open Run (Win+R) and run intl.cpl. Click Additional settings > Time tab and enter your custom format.
Hope that helps!