libxlsxwriter
Loading...
Searching...
No Matches
Data Fields
lxw_datetime Struct Reference

Struct to represent a date and time in Excel. More...

Detailed Description

Struct to represent a date and time in Excel. See Working with Dates and Times.

Examples
data_validate.c, dates_and_times02.c, dates_and_times04.c, doc_custom_properties.c, and tutorial3.c.

Data Fields

int year
 
int month
 
int day
 
int hour
 
int min
 
double sec
 

Field Documentation

◆ year

int lxw_datetime::year

Year : 1900 - 9999

Examples
tutorial3.c.

◆ month

int lxw_datetime::month

Month : 1 - 12

◆ day

int lxw_datetime::day

Day : 1 - 31

◆ hour

int lxw_datetime::hour

Hour : 0 - 23

◆ min

int lxw_datetime::min

Minute : 0 - 59

◆ sec

double lxw_datetime::sec

Seconds : 0 - 59.999