Example of writing dates and times in Excel using different date formats.
#include "xlsxwriter.h"
int main() {
uint32_t row = 0;
uint16_t col = 0;
int i;
const char *date_formats[] = {
"dd/mm/yy",
"mm/dd/yy",
"dd m yy",
"d mm yy",
"d mmm yy",
"d mmmm yy",
"d mmmm yyy",
"d mmmm yyyy",
"dd/mm/yy hh:mm",
"dd/mm/yy hh:mm:ss",
"dd/mm/yy hh:mm:ss.000",
"hh:mm",
"hh:mm:ss",
"hh:mm:ss.000",
};
for (i = 0; i < 14; i++) {
row++;
}
}