I
Ivan Novick
Given a time_t value, if you wanted to print the time in a specific
timezone, is there a better way then what I am currently doing which
seems really bad?
Currently I set the TZ system environment variable, call tzset, then
use localtime to create a struct tm.
This process is slow to execute and also has issues with multiple
threads all setting the single TZ variable.
I would appreciate any leads.
Thanks,
timezone, is there a better way then what I am currently doing which
seems really bad?
Currently I set the TZ system environment variable, call tzset, then
use localtime to create a struct tm.
This process is slow to execute and also has issues with multiple
threads all setting the single TZ variable.
I would appreciate any leads.
Thanks,