Stepping a Sidereal Day.

I have created buttons to step back and forth by 1 and also 5 sidereal days. According to the source I found on the internet, a sidereal day is 23 hrs, 56 minutes, and 4.1 seconds. Multiplied out to get total seconds, it becomes 86,164.1 seconds for a step of one sidereal day.


For forward 1 sidereal day I am using the command.

time.set type=relative step=86164.1 interpolation=instant


For back 1 sidereal day I am using

time.set type=relative step=-86164.1 interpolation=instant


Then for 5 days back and forth I multiply the step by 5 to get +/-430,820.5 seconds.


It seems to work, but I was just wondering if it was correct or if someone found a better way.

2.0

Is dit artikel nuttig voor u?

Antwoord
Under review

That is exactly what I was going to recommend to you to do.

This is exactly how I do it too.