Try OpenEdge Now
skip to main content
Internationalizing Applications
Preparing the Code : Data-processing issues : Time


Time formats differ around the world because some countries use the twenty-four-hour clock and others use the twelve-hour clock. Some countries use both, depending on the business sector. The format for representing clock time varies also due to the separators between hours, minutes, and seconds. For example, the same time of day can be displayed as 2:42:10 PM, 14.42.10, or 14h42:10. To accommodate these differences, you can use techniques similar to those used for dates. OpenEdge represents time as a fraction of a day. For example, one half of a day is 12:00 noon, and one quarter of a day is 6:00 AM.