Design Pattern Examples
Overview of object-oriented design patterns
helpers/DateTime.h
Go to the documentation of this file.
1
5
6
#pragma once
7
#ifndef __DATETIME_H__
8
#define __DATETIME_H__
9
10
#include <time.h>
11
18
const
char
*
datetime_to_string
(time_t timestamp);
19
24
time_t
datetime_now
(
void
);
25
26
#endif
// __DATETIME_H__
datetime_now
time_t datetime_now(void)
Retrieve a time stamp that represents the current time.
Definition:
datetime.c:27
datetime_to_string
const char * datetime_to_string(time_t timestamp)
Convert the specified time stamp to a string.
Definition:
datetime.c:12
c
helpers
datetime.h
Generated on Tue Aug 29 2023 19:47:44 for Design Pattern Examples by
1.9.6