pxt-calliope/docs/reference/control/event-timestamp.md

11 lines
291 B
Markdown
Raw Normal View History

2016-07-20 16:25:09 -07:00
# Event Timestamp
2016-07-20 11:31:14 -07:00
2016-07-20 16:25:09 -07:00
Get the timestamp of the last event executed on the bus
2016-07-20 11:31:14 -07:00
```sig
2016-07-21 13:29:59 -07:00
control.eventTimestamp();
2016-07-20 11:31:14 -07:00
```
2016-07-21 13:29:59 -07:00
**This is an advanced API.** For more information, see the
[micro:bit runtime messageBus documentation](https://lancaster-university.github.io/microbit-docs/ubit/messageBus/).