I'm writing a server in C that is meant to get a request over UDP for the time in either: Doha, Prague, New York or Berlin. How can I produce the right response?
I tried looking into the localtime() method but couldn't find anything relating to a timezone