跳转至

DD_DATE,LP_DD_DATE

结构体定义

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;
}

功能描述

与DD_TIME的区别在于,DD_TIME中month、year赋值不同。

成员说明

成员 类型 备注
mday unsigned char day of month, (1 - 31)。
month unsigned char month, (1 - 12)。
year unsigned short current solar year(公元年份)。
错误码