Board index » cppbuilder » Saing a TDateTime
John Cratt
![]() CBuilder Developer |
Wed, 24 Mar 2004 23:27:09 GMT
Saing a TDateTime
I am using a TDatePicker to input a date. I then want to save this in a
data file ( along with other stuff). Kinda like this: startdate = StartDatePicker->Date; // blah ofstream ofile( SaveDialog1->FileName.c_str() ); When I try to retrieve the date, I keep getting errors. ifstream ifile( OpenDialog1->FileName.c_str() ); The error EConvertError and lists the contents of the file and states 37260 What am I doing wrong? |