nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ date_time_is_valid_local()

bool date_time_is_valid_local ( void  )

#include <include/date_time.h>

Check if the library has obtained an initial valid date time and timezone.

Note
If this function returns false there is no point of subsequent calls to date_time_now_local().
Returns
true The library has obtained a local date time.
false The library has not obtained a local date time.