where does the time go?

pachjo

Well-known member
Joined
Dec 12, 2006
Messages
370
Programming Experience
10+
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?
 
Back
Top