Commit Graph

3 Commits (a03eeb9f459a3a9b0e7cfedab795792a4d9837db)

Author SHA1 Message Date
nirenjan a03eeb9f45 Use Python stardate calculator 2013-01-18 14:50:46 -08:00
nirenjan a9b9b9ec49 Rename stardate to stardate.pl 2013-01-18 14:50:17 -08:00
nirenjan d08390d4be Add Stardate script
This script is used across various systems in:
- screen hardstatus line
- tmux status line

The script provides a simplistic Stardate calculator, not based
on any particular methodology of the Star Trek series, but on
a simple calculation based off GMT time.

The firt 2 digits are the number of years since 1970, the next
three digits and the digit after the decimal point indicate the
"stardate" of the year, which is a straightforward multiplication
by ~2.73785 which is 1000 stardates per calendar year which is an
average of 365.25 days.
2013-01-11 23:36:58 -08:00