VB.NET:
private d as datetime
d = datetime.now
messagebox.show(d)
tran_date = d
Re the above I see the date and time in d.
I have the field in the .mdf set to datetime, but when I save d to the field all that gets saved is the date. The time portion is lost.
Have I missed the bleedin obvious?