MUDL:time now

From SlothMUD Wiki
Revision as of 22:49, 19 November 2018 by Teker (Talk | contribs) (Created page with " __TOC__ = Summary = {|class="abilitiestable" border="0" cellspacing="0" cellpadding="0" ! Function Name | time_now |- ! Settable | No |- ! Returns | Integer |} {|class="...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Summary

Function Name time_now
Settable No
Returns Integer


Parameter Options
No parameters


This function returns an integer timestamp equal to the number of seconds elapsed since midnight on Jan 1, 1970.


Example

setproc <parent> # on_foo
msg_room(%room, 'Time is ' + time_now()),
return(true)