Getting time in a different time zone using c++
C++ will let me get the local time with std::localtime(), but that presents a problem when I’m using an online compiler whose server is in a different continent. How do I get the time in PST instead of “local” time?