Star Trek Stardate on your Android homescreen
Dashclock Stardate

A few years ago I built this extension for DashClock for Android devices. DashClock allowed you to use custom extensions to add widgets to your home screen.
The extension let you choose from five different stardate formats and it would display the current date converted to that format.
The following are the formats used with the way to convert them as well as todays date converted to stardate:
The Original Series (TOS)
YYMM.DD
YYis the current year - 1900MMis the current month (01-12)DDis the current day of the month (01-31)
Todays date: 2025-12-7 → Stardate: 12512.7
The Next Generation (TNG)
- The Next Generation's stardate starts on
July 5, 2318 12:00:00 - 1.0 Stardate is 34,367.0564 seconds
- Subtract the milliseconds from the above date to the current date's milliseconds
- Divide by
34367056.4and round to 2 decimal points
Todays date: 2025-12-7 → Stardate: -268649.74
Contemporary TNG
- For contemporary dates, start from
July 15, 1987 00:00:00 - Subtract the milliseconds from the above date to the current date's milliseconds
- Divide by a year in milliseconds (365.25) and round to 2 decimal points
Todays date: 2025-12-7 → Stardate: 79400.4
Modified TNG
[YY] TTTT
Based on the system used by The STAchive
Todays date: 2025-12-7 → Stardate: [-25] 1495
Star Trek (2009)
YYYY.DD
YYYYis the current yearDDis the day of the year (1-366) (includes leap years)
Todays date: 2025-12-7 → Stardate: 2025.341