Date/Time formatting. More...

Data Structures

struct  datetime_t
 Structure containing date and time information. More...
 

Functions

void datetime_to_str (char *buf, uint buf_size, const datetime_t *t)
 Convert a datetime_t structure to a string. More...
 

Detailed Description

Date/Time formatting.

Function Documentation

◆ datetime_to_str()

void datetime_to_str ( char *  buf,
uint  buf_size,
const datetime_t t 
)

Convert a datetime_t structure to a string.

Parameters
bufcharacter buffer to accept generated string
buf_sizeThe size of the passed in buffer
tThe datetime to be converted.