Visual Basic:
Dim myTime As DateTime
myTime = DateTimePicker1.Text
this gives me a big number when i should have a few secs
Visual Basic:
TextBox1.Text = DateDiff(DateInterval.Second, Now(), DateAdd(DateInterval.Second, CType(myTime.ToOADate(), Double), System.DateTime.Today))
And this gives me a big number too
Visual Basic:
TextBox1.Text = DateDiff(DateInterval.Second, Now(), myTime)
I need to get the diff in secs between a time #7:35:04 PM# kept in myTime and Now()...
Anyone could help on this?