i don't know how STO does it, but I did figure out my own method for my STO site which calculates the stardate just like the game does. Though my calculations are a bit complex.
I started by calculating the relationship between the game's stardates and actual date/time. I determined these as base dates:
Earth date = 5/27/2002 05:20:00
Stardate = 80000
I then converted the Earth base date and the current date/time into seconds (note this is all done using javascript). I then used this formula:
Comments
Page down to the calculator that deals with the 24th century Stardates.
I started by calculating the relationship between the game's stardates and actual date/time. I determined these as base dates:
Earth date = 5/27/2002 05:20:00
Stardate = 80000
I then converted the Earth base date and the current date/time into seconds (note this is all done using javascript). I then used this formula:
stardate = ((((secs - baseSecs)/1000)/60)/5)*0.009513655;
secs = current date/time converted into seconds
baseSecs = base earth date converted into seconds
that formula gives the stardate but you might need to round it to 2 decimal places
... my head just exploded
glad i could help
> Anyone how the answer how "STO" calculates this?
1000*(dayofyear/yearlength + year - 1923 + 221/365
*casts Holy Photon Torpedo*