[…]I need to get local time and GMT time on Linux to get the difference between them and be able to make astronomical calculation.[…]Since you wrote you wanna perform some astronomical calculations: What exactly do you mean by “local time”?
[…]I need to get local time and GMT time on Linux to get the difference between them and be able to make astronomical calculation.[…]Since you wrote you wanna perform some astronomical calculations: What exactly do you mean by “local time”?
[…]Astronomical calculations are always UTC (formerly, and colloquially, known as GMT) based.Yeah, however he asked for “local time”, too. As you noted, usually “local time” is not used for astronomical calculations. That confused me.
[…] my real time zone is GMT+ only 36 minutes O:-) :oMiss! I hit water. … Sorry, I took a future map of the Netherlands. :o
I live one degree north of Greenwich so now you know where I live […]