Design Pattern Examples
Overview of object-oriented design patterns
makelocaltime.cpp File Reference

Implementation of the makelocaltime() function to convert a time_t to a struct tm containing the local time. More...

#include <time.h>
#include <chrono>
#include "makelocaltime.h"
Include dependency graph for makelocaltime.cpp:

Go to the source code of this file.

Namespaces

namespace  Helpers
 The namespace containing all the "helper" functions in the C++ code.
 

Functions

struct tm * makelocaltime (const time_t *time, struct tm *timestruct)
 Convert the given time to local time.
 

Detailed Description

Implementation of the makelocaltime() function to convert a time_t to a struct tm containing the local time.

Definition in file makelocaltime.cpp.