Calculates the Star Trek stardate and vice versa.