A corporation manager and dashboard for EVE Online
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
234 B

  1. # -*- coding: utf-8 -*-
  2. from datetime import datetime
  3. __all__ = ["Clock"]
  4. _YEAR_DELTA = 1898
  5. class Clock:
  6. def now(self):
  7. dt = datetime.utcnow()
  8. return str(dt.year - _YEAR_DELTA) + dt.strftime("-%m-%d %H:%M")