Visual Studio 2010 - Visual C++
DFX_DateTime
Transfers time and date data between the field data members of a CDaoRecordset object and the columns of a record on the data source.
void AFXAPI DFX_DateTime( CDaoFieldExchange* pFX, LPCTSTR szName, COleDateTime& value, DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE );
Parameters
Remarks
Data is mapped between type DAO_DATE in DAO and type COleDateTime in the recordset.
Note
|
|---|
|
COleDateTime replaces CTime and TIMESTAMP_STRUCT for this purpose in the DAO classes. CTime and TIMESTAMP_STRUCT are still used for the ODBC-based data access classes. |
Example
See DFX_Text.
Requirements
Header: afxdao.h
See Also
Note