Terry Haimann wrote:
Wrote a toy app that calculates time/date on Mars. Note as written it
won't work under Windows. I didn't see a way to write a generic routine
to get the Time- Zone. I ended up running an external process using the
Linux Date Program.
www.HaimannOnline.com/Astronomy/MartianTime.zip
Is that the time zone on Earth or on Mars? :-) There was discussion
recently on getting uncorrected UTC time which concluded that it was
much easier on unix than on Windows, in practice I usually delegate as
much as possible to a backend database.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus