Arduino-RTC
Real-Time Clock (RTC) library for Arduino
mktime.cpp File Reference
#include "time.h"
Include dependency graph for mktime.cpp:

Go to the source code of this file.

Functions

time_t mktime (struct tm *timeptr)
 

Variables

int32_t __utc_offset
 
int(* __dst_ptr )(const time_t *, int32_t *)
 

Function Documentation

time_t mktime ( struct tm timeptr)

This function 'compiles' the elements of a broken-down time structure, returning a binary time stamp. The elements of timeptr are interpreted as representing Local Time. The original values of the tm_wday and tm_yday elements of the structure are ignored, and the original values of the other elements are not restricted to the ranges stated for struct tm.

On successful completion, the values of all elements of timeptr are set to the appropriate range.

Definition at line 35 of file mktime.cpp.

Variable Documentation

int(* __dst_ptr) (const time_t *, int32_t *)

Definition at line 31 of file set_dst.cpp.

int32_t __utc_offset

Definition at line 31 of file set_zone.cpp.