.. GetTime

.. default - domain::js

.. include:: /includes/standard.rst

================
GetTime (Kernel)
================

.. function:: GetTime()

.. function:: GetTime(fTimeOfDay)
	:noindex:

	
	Retrieves the current time. If fTIME_OF_DAY is specified, it returns the time of day in seconds.
	Otherwise, it returns the number of ticks elapsed since the game was started.
	
	:returns: The time of day in seconds or ticks.


