Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/System-time/Oz/system-time.oz
Normal file
8
Task/System-time/Oz/system-time.oz
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{Show {OS.time}} %% posix time (seconds since 1970-01-01)
|
||||
{Show {OS.gmTime}} %% current UTC as a record
|
||||
{Show {OS.localTime}} %% current local time as record
|
||||
|
||||
%% Also interesting: undocumented module OsTime
|
||||
%% When did posix time reach 1 billion?
|
||||
{Show {OsTime.gmtime 1000000000}}
|
||||
{Show {OsTime.localtime 1000000000}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue