Es.gettime

From EventScripts Community Encyclopedia



Method: gettime

Module: es
Class: (no class)
EventScripts version: 2.0

Method Overview

Table of Contents

Contents


Description

(Deprecated) Gets the current server time as the number of seconds since the epoch (Jan 1 1970). This is the Python equivalent of: http://www.eventscripts.com/pages/es_gettime

Arguments

  • returnvar - Variable in which to store the time


Examples

import es
 
myvar = es.ServerVar('myvar')
es.gettime('myvar')
es.msg('Time: %s' % myvar)

Notes

See Also

blog comments powered by Disqus