[Lazarus] OT: Cute little toy program
Terry Haimann
terry at haimannonline.com
Sat Sep 15 23:26:21 CEST 2012
On 09/14/2012 12:22 PM, Mark Morgan Lloyd wrote:
> 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.
>
Yes Earth Time Zone. No database in this app. I need to know the time
on earth to calculate time on Mars. Sorry about the slow resoponse, I
am at a star party.
More information about the Lazarus
mailing list