def gametime_to_realtime(secs=0, mins=0, hrs=0, days=0, weeks=0, months=0, yrs=0, format=False):
 realtime = (((((((secs + (mins * MIN)) + (hrs * HOUR)) + (days * DAY)) + (weeks * WEEK)) + (months * MONTH)) + (yrs * YEAR)) / TIMEFACTOR)
 if format:
  return _format(realtime, 31536000, 2628000, 604800, 86400, 3600, 60)
 return realtime

def gametime_to_realtime ( secs = 0 , mins = 0 , hrs = 0 , days = 0 , weeks = 0 , months = 0 , yrs = 0 , format = False ) : realtime = ( ( ( ( ( ( ( secs + ( mins * MIN ) ) + ( hrs * HOUR ) ) + ( days * DAY ) ) + ( weeks * WEEK ) ) + ( months * MONTH ) ) + ( yrs * YEAR ) ) / TIMEFACTOR ) if format : return _format ( realtime , 31536000 , 2628000 , 604800 , 86400 , 3600 , 60 ) return realtime
this method helps to figure out the real-world time it will take until an in-game time has passed .