Commit Graph

5 Commits (9d02e9d8d0db3d68aa4b148410d820968faef69e)

Author SHA1 Message Date
nirenjan 9d02e9d8d0 Fix stardate script to truncate instead of round 2013-05-01 22:43:36 -07:00
nirenjan 717dacdf67 Enhance precision in sdate display 2013-02-19 15:00:03 -08:00
nirenjan 178ebe4f0e Speed up stardate counter (1 SD = 1 JD) 2013-01-22 16:58:43 -08:00
nirenjan d348aef645 Tweak sdate script to print correct Julian date
The existing script was rounding the computed Julian date which was
resulting in the script printing the next day for 12 hours in the day,
i.e., a date of 456314.5 was being printed as 45631.5 (due to the
division by 10 and rounding up by the print statement). Now, the script
computes the number of days since the epoch (JD 2000000) and drops the
fractional portion, so it will print the correct Julian date stardate,
i.e., a date of 456314.5 will be printed correctly as 45631.4.
2013-01-21 16:51:46 -08:00
nirenjan a3f0b88de4 Add stardate script based on Julian date 2013-01-21 12:00:38 -08:00