Internationalization and localization tools


C/C++ Date, Time, and Currency Functions

Related Links

Link to Wide Character C/C++ Date, Time, and Currency Functions.
Link to Windows Generic C/C++ Date, Time, and Currency Functions.

Internationalization (I18n) Issue:

Different locales represent dates and times differently and have many variations. Please see time/date for more information. These functions use LC_TIME category to provide locale-based formatting.

I18n Solution:

In internationalized applications that use UTF-16/UTF-32 encoded Unicode characters, the appropriate wide character equivalent function should be used to ensure proper handling of wide character strings.

On Windows platforms only, use the Generic form of the time/date function, and let the Windows _MBCS or _UNICODE compiler switch determine whether to call the multibyte (one of the functions listed here) or wide character version of the function.

Click on a function for more information:

_ctime64

_strdate

_strtime

asctime

asctime_r

ctime

ctime_r

getdate

getdate_r

strfmon

strftime

strptime

 

 Locale-Sensitive C++ Methods

 

Lingoport internationalization and localization services and software