Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
|
|
@ -1,10 +1,3 @@
|
|||
import "os" for Process
|
||||
import "./date" for Date
|
||||
import "timer" for Now
|
||||
|
||||
var args = Process.arguments
|
||||
if (args.count != 1) Fiber.abort("Please pass the current time in hh:mm:ss format.")
|
||||
var startTime = Date.parse(args[0], Date.isoTime)
|
||||
for (i in 0..1e8) {} // do something which takes a bit of time
|
||||
var now = startTime.addMillisecs((System.clock * 1000).round)
|
||||
Date.default = Date.isoTime + "|.|ttt"
|
||||
System.print("Time now is %(now)")
|
||||
System.print(Now.time)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue