Skip to content

DD_DATE,LP_DD_DATE

Structure Definition

1
2
3
4
5
6
typedef struct _dd_date_
{
    unsigned char mday;  
    unsigned char month; 
    unsigned short year; 
} DD_DATE, * LP_DD_DATE;
1
2
3
4
5
6
7
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct DD_DATE
{
    public byte mday;
    public byte month;
    public UInt16 year;
}

Function Description

The difference from DD_TIME is that the values ​​of month and year in DD_TIME are different.

Member Description

Member Type Remark
mday unsigned char Day of month, (1 - 31).
month unsigned char Month, (1 - 12).
year unsigned short Current solar year (AD year).
Error Code