About Gree.do?
We all know: Han shot first.
gree.do defines Star Wars Epoch Time (SWET) for the first time ever! There is an animated interface and REST API endpoints. It shows some of the other time modes from the lore of the Star Wars universe, with multiple galactic time systems for developers, fans, and anyone who wants to use galactic times modes in their projects.
Han shot first.
SWET (Star Wars Epoch Time)
Star Wars Epoch Time
Origin of SWET (Star Wars Epoch Time) is a custom time system designed specifically for this project, similar to Unix (Epoch) time but rather SWET counts seconds since the theatrical release of Star Wars: A New Hope on Wednesday, May 25, 1977.
Why May 25, 1977?
This is the date of the theatrical release of Star Wars in the United States, making it the anchor point for this time mode. Unable to find the time of the first showing, we picked 15:00 PDT since there is a reference to San Francisco having the first showing, but that turns out to be 00:00 on May 26 UTC! Just like Unix time was born on January 1, 1970 (the "Unix Epoch"), SWET is birthed from the moment that changed science fiction forever.
CGT (Combine Galactic Time)
Combine Galactic Time is an established time system used by the Star Wars Combine community. It provides a standardized way to represent time across the galaxy.
CGT Epoch Modes:
- Current Mode: CGT(0,1,0,0,0) = 1998-12-03 07:00:00 UTC
- Legacy Mode: CGT(0,1,0,0,0) = 1998-12-03 00:00:00 UTC
Other Star Wars Time Systems
GSC
Galactic Standard Calendar
The most widely used calendar system in the Star Wars universe, providing a standardized reference for galactic events.
BBY/ABY
Before/After Battle of Yavin
Timeline system centered around the pivotal Battle of Yavin, where Luke Skywalker destroyed the first Death Star.
"The ability to destroy a planet is insignificant next to the power of the Force."
BTC/ATC
Before/After Treaty of Coruscant
Historical dating system based on the Treaty of Coruscant, marking significant political changes in the galaxy.
GrS
Great ReSynchronization
A calendar reform that standardized time-keeping across different star systems and cultures.
TYA
Tho Yor Arrival
Ancient dating system marking the arrival of the mysterious Tho Yor ships and the founding of the Je'daii Order.
Ruusan
Ruusan Reformation
Calendar system based on the Ruusan Reformation, which reorganized the Galactic Republic after the New Sith Wars.
Conversion Accuracy:
All time conversions are mathematically precise and follow established Star Wars lore where possible. The system handles timezone conversions automatically and supports both naive and timezone-aware datetime objects.
Using the Gree.do API
Gree.do provides two primary API endpoints for integration into your projects:
JSON API Endpoint
GET /api/v1/greedo
Returns structured JSON data perfect for web applications and API integrations.
Text/cURL Endpoint
curl http://gree.do/curl/v1/greedo
Returns human-readable plain text format ideal for command-line usage and scripts.
Credits and References
Special Thanks
- Crystal Odenkirk - Star Wars calendar conversions and timeline research
- SWCombine Community - Combine Galactic Time specifications
May the Force be with you, and ... Han shot first!