630 views
in Platform Packages by
I want to know if the time display is in 24 hr or AM/PM. I can get the hour, minutes and second from Core::Time.CurrentTime.Format. But I could not find a way if the time shown is 24 or am/pm.

1 Answer

0 votes
by

Hello Thanseer,

using the parameter in Format() you configure the desired output. See the documentation Core::Time.Format.

Best regards

Paul Banach

by
It seems to me that AM and PM are not translated when the language is for example Estonians
by

Hello,

the strings for AM and PM are stored in the homonymous constants in the unit Resources.

In this case, to localize the strings for other languages, you create a variant of the respective constant in one of your own units and then you define the contents for the language specific values for the variant. The variant will override the original constant.

I hope it helps you further.

Best regards

Paul Banach

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...