nRF Connect SDK API
2.8.99
Loading...
Searching...
No Matches
◆
date_time_now()
int date_time_now
(
int64_t *
unix_time_ms
)
#include <
include/date_time.h
>
Get the current date time UTC.
Note
If the function fails, the passed in variable retains its old value.
Parameters
[out]
unix_time_ms
Pointer to a variable to store the current date time UTC.
Returns
0 If the operation was successful.
-ENODATA If the library does not have a valid date time UTC.
-EINVAL If the passed in pointer is NULL.
Date Time Library
Generated on Tue Nov 5 2024 10:05:37 for nRF Connect SDK API by
1.12.0