nRF Connect SDK API
0.1.0
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 Thu Sep 26 2024 10:53:18 for nRF Connect SDK API by
1.9.6