libxlsxwriter
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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:
dates_and_times02.c, dates_and_times03.c, doc_custom_properties.c, and tutorial3.c.

Data Fields

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

Field Documentation

int lxw_datetime::year

Year : 1900 - 9999

Examples:
tutorial3.c.
int lxw_datetime::month

Month : 1 - 12

int lxw_datetime::day

Day : 1 - 31

int lxw_datetime::hour

Hour : 0 - 23

int lxw_datetime::min

Minute : 0 - 59

double lxw_datetime::sec

Seconds : 0 - 59.999