Merge pull request #44341 from Faless/docs/4.x_os_unixtime

Add important note about OS.get_unixtime.
This commit is contained in:
Rémi Verschelde 2020-12-16 14:30:25 +01:00 committed by GitHub
commit f17b34c479
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,6 +356,7 @@
</return>
<description>
Returns the current UNIX epoch timestamp.
[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>
<method name="get_unix_time_from_datetime" qualifiers="const">