Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Convert real dates into "stardates"
ResourceFunction["StarDate"][date] returns a StarDate string representing the given date object. |
Compute today's stardate:
| In[1]:= |
| Out[1]= |
Compute the stardate of a given date (February 11, 2258):
| In[2]:= |
| Out[2]= |
Find the stardate on a wine bottle:
| In[3]:= | ![]() |
| In[4]:= | ![]() |
| Out[4]= |
StarDate uses a date interpreter for String arguments:
| In[5]:= |
| Out[5]= |
StarDate works on a DateObject by using DateList:
| In[6]:= |
| In[7]:= | ![]() |
| Out[7]= | ![]() |
Stardates used in the television series such as "The Next Generation" and others were not well-defined, as you can see with the option Method→"TNG":
| In[8]:= |
| Out[8]= |
Interpreted strings will default to the current date values:
| In[9]:= |
| Out[9]= |
This work is licensed under a Creative Commons Attribution 4.0 International License