Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/System-time/Neko/system-time.neko
Normal file
13
Task/System-time/Neko/system-time.neko
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
<doc>
|
||||
<h2>System time</h2>
|
||||
<p>Neko uses Int32 to store system date/time values.
|
||||
And lib C strftime style formatting for converting to string form</p>
|
||||
</doc>
|
||||
*/
|
||||
|
||||
var date_now = $loader.loadprim("std@date_now", 0)
|
||||
var date_format = $loader.loadprim("std@date_format", 2)
|
||||
|
||||
var now = date_now()
|
||||
$print(now, " ", date_format(now, "%T"), "\n")
|
||||
Loading…
Add table
Add a link
Reference in a new issue