How: Set Time (not just date) in Script?
Posted: 12.07.2003, 23:52
Hello,
As many others are, I too am new to Celestia. Thank you team, for writing and enhancing it! I love it!
I would like to set a specific time via a script, but the Time function appears to be for setting the date (Julian day) only. Maybe this function should be renamed to SetDate, and a SetTime function added?
The cmdparser code shows only a single number is passed [getNumber("jd", jd);], so that means there is no separator in the jd parameter for a time value, correct?
So, how do I set a specific time of day, to something other than the default value of 12:00:00 UTC which is set when the Time (actually a Date) function is executed?
Thank you!
-Don
As many others are, I too am new to Celestia. Thank you team, for writing and enhancing it! I love it!
I would like to set a specific time via a script, but the Time function appears to be for setting the date (Julian day) only. Maybe this function should be renamed to SetDate, and a SetTime function added?
The cmdparser code shows only a single number is passed [getNumber("jd", jd);], so that means there is no separator in the jd parameter for a time value, correct?
So, how do I set a specific time of day, to something other than the default value of 12:00:00 UTC which is set when the Time (actually a Date) function is executed?
Thank you!
-Don