Zigbee Protocol Controller 1.6.0
ota_time.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
20#ifndef OTA_TIME_H
21#define OTA_TIME_H
22
23#include "time.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
38time_t calculate_utc_current_time_difference(const time_t time_utc);
39
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif //OTA_TIME_H
time_t calculate_utc_current_time_difference(const time_t time_utc)
Calculate time diffrence between the local time and UTC time.
time_t get_current_utc_current_time()
Returns the current UTC time.