Migrate docs from the other repo

This commit is contained in:
Michal Moskal
2016-03-25 16:47:20 -07:00
parent 38d2cf06d2
commit a08eb53f92
895 changed files with 36888 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# Running Time
Get the number of milliseconds elapsed since the script began. 1,000 milliseconds = 1 second.
```sig
input.runningTime();
```
### Returns
* [Number](/microbit/reference/types/number)
### Example: elapsed time
This code gets the elapsed time since the start of the program execution and displays it on the screen.
```blocks
let now = input.runningTime()
basic.showNumber(now)
```
### Lessons
[speed button](/microbit/lessons/speed-button)
### See also
[show number](/microbit/reference/basic/show-number), [pause](/microbit/reference/basic/pause)