Ejemplo n.º 1
0
def PtUpdateCGZStartTime(time=None):
    chron = PtFindCreateMarkerChronicle("CGZ-StartTime")
    if time is None:
        import Plasma
        time = Plasma.PtGetServerTime()
    chron.setValue(str(time))
    chron.save()
Ejemplo n.º 2
0
def PtGetTimePlayingCGZ():
    import Plasma
    return Plasma.PtGetServerTime() - PtGetCGZStartTime()