Es gettimestring

From EventScripts Community Encyclopedia


Overview

Syntax: es_gettimestring <variable>

Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Variation of this command that doesn't expand variables: es_xgettimestring

Description

Stores the current time into variable formatted depending on the value of eventscripts_timeformat.

Parameters

  • variable - Where the current time is stored.


Examples

es_xsetinfo cur_time 0
es_gettimestring cur_time
//with default of evenscripts_timeformat cur_time will be like 2001-01-01 17:30:15 (EST) 


Notes

  • no notes


See also

blog comments powered by Disqus