datetime.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef _PICO_UTIL_DATETIME_H
8 #define _PICO_UTIL_DATETIME_H
9 
10 #include "pico.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
29 void datetime_to_str(char *buf, uint buf_size, const datetime_t *t);
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 #endif
datetime_to_str
void datetime_to_str(char *buf, uint buf_size, const datetime_t *t)
Convert a datetime_t structure to a string.
Definition: datetime.c:30
datetime_t
Structure containing date and time information.
Definition: types.h:93
pico.h