Hi,
In the below code time zone name is coming as empty. But is used to work in other machines which has English local.
Local of my machine is chinese and time zome set is "China Standard Time."
But when i'm using GetTimeZoneInformation function, I’m able to get the time zone in Chinese.
Can someone please help here?
int _tmain(int argc, _TCHAR* argv[])
{
_tzset();
cout << _tzname[0];
return 0;
}
Thanks,
Divakar.