blob: b5b3ac9fa109d5e33d5cdfb02c389dbbc73c595b [file] [view]
# Time units
## Userspace exposed time units
*zx\_time\_t* is in nanoseconds.
Use [zx_time_get()](syscalls/time_get.md) to get the current time.
## Kernel-internal time units
*lk\_time\_t* is in nanoseconds.
To get the current time since boot, use:
```
#include <platform.h>
lk_time_t current_time(void);
```