I am using GDAL 1.6 Beta with VB.NET (through ogr_csharp) to read a TAB file with a Date or a Date Time field and I can't use the following to get the date values (they are all 0):
.GetFeature(x).GetFieldAsDateTime(33, myyear, mymonth, myday, myhour, mymin, mysec, mytz) However if I use: .GetFeature(x).GetFieldAsString(33) I get "2008102600000". Also if I try to create a new file with a datetime field it builds ok but the field has no values assigned to it. Is this due to the csharp wrapper not yet supporting datetime fields in Mapinfo? Cheers, Dale Harris GIS Manager Regis Resources Ground Floor 62 Colin Street West Perth WA 6005 Direct Line (08) 9442 2207 Fax: (08) 9442 2290 Email: [EMAIL PROTECTED]
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
