Get datetime fields in sql.

ambg

Member
Licensed User
Longtime User
Hi,
I use this code for retrieve fields from sql databases:
dim cur as Cursor
Cur=mysql.ExecQuery("Select * from table")

I can retrieve strings and numeric values:
cur.GetString("FieldName")
cur.GetInt("FieldName")

But , how do i can get a date field?

Thanks,
 
Top