delphi - Is there an Windows API routine for getting the timezone name in English? -


the windows gettimezoneinformation function returns standardname , daylightname members of resultant time_zone_information structure localized according current user default ui language. thought saw somewhere means of getting names in english irrespective of language users' pc running (but can't find it...).

does know if can done?

use setthreaduilanguage.

i can give c++ example.

langid en = makelangid(lang_english, sublang_english_us); setthreaduilanguage(en);  time_zone_information tzi; gettimezoneinformation(&tzi);  messageboxw(null, tzi.standardname, tzi.daylightname, mb_ok); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -