visual c++ - How to convert local time to Argentina time? -


i want draw 4 analog clocks. first basis on iran time, second : argentina time, third: brazil time , fourth: france time.
system's time (basis iran's time) , show on analog clock. don't know how 3 others time , show them.

 glfloat h,m,s;     time_t rawtime;     struct tm * timeinfo;      time ( &rawtime );     timeinfo = localtime ( &rawtime ); 

can me?

you didn't specify language, guessing using c++. if case can use gmtime function explained here utc time , add adjust hour adding utc offset argentinia (timeinfo->tm_hour = -3 or whatever correct syntax is)


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -