1# Time units
2
3## Userspace exposed time units
4
5*zx\_time\_t* is in nanoseconds.
6
7Use [zx_clock_get()](syscalls/clock_get.md) to get the current time.
8
9## Kernel-internal time units
10
11*lk\_time\_t* is in nanoseconds.
12
13To get the current time since boot, use:
14
15```
16#include <platform.h>
17
18lk_time_t current_time(void);
19```
20