summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-03-24 13:21:32 +0100
committerkobewi <kobewi4e@gmail.com>2021-03-24 13:21:32 +0100
commit6e4a8b7f37e0bd934202145a6b2c0f283a14a877 (patch)
treec1ee756279420a6f053bdcfd270395775c3d626d /doc/classes
parent92cdd646bde745774875ded593c41bb8a09eacaa (diff)
Clarify that get_unix_time() returns seconds
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/OS.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index a76ea5868c..8c90108aef 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -355,7 +355,7 @@
<return type="float">
</return>
<description>
- Returns the current UNIX epoch timestamp.
+ Returns the current UNIX epoch timestamp in seconds.
[b]Important:[/b] This is the system clock that the user can manully set. [b]Never use[/b] this method for precise time calculation since its results are also subject to automatic adjustments by the operating system. [b]Always use[/b] [method get_ticks_usec] or [method get_ticks_msec] for precise time calculation instead, since they are guaranteed to be monotonic (i.e. never decrease).
</description>
</method>