Partager via


CDBVariant::m_pdate

Stores a pointer to an object of type TIMESTAMP_STRUCT.

Remarks

The m_pdate data member belongs to a union. Before accessing m_pdate, first check the value of CDBVariant::m_dwType. If m_dwType is set to DBVT_DATE, then m_pdate contains a valid pointer; otherwise, accessing m_pdate will produce unreliable results.

For more information about the TIMESTAMP_STRUCT data type, see the topic C Data Types in Appendix D of the ODBC Programmer's Reference in the Windows SDK.

Requirements

Header: afxdb.h

See Also

Reference

CDBVariant Class

Hierarchy Chart

CDBVariant::m_dwType