Recently, one of our developers needed to calculate the Stardate using C#.NET. After much internal mental gymnastics regarding TOS, TNG, and newer calculations, the following code was produced:
string stardate = DateTime.Now.Year.ToString() + “.” + ((int)(DateTime.Now.DayOfYear / 3.65F)).ToString();
The developer was immediately harangued about inconsistent time zone support. Of course, we are not exactly sure how time zones work in outer space….
…and management wants to know which customer CR this line of code now belongs to.