G Guest Jun 17, 2004 #1 How does one determine the number of ticks from a given date as opposed to the date (Jan 1, 0001) that is used in the .Ticks method? Thanks, Mark
How does one determine the number of ticks from a given date as opposed to the date (Jan 1, 0001) that is used in the .Ticks method? Thanks, Mark
C Claes Bergefall Jun 17, 2004 #2 Dim dt1 As Date = Date.Now Dim dt2 As Date = #7/7/2004# Dim ts As TimeSpan = dt2.Subtract(dt1) Debug.WriteLine(ts.Ticks)) /claes Mark said: How does one determine the number of ticks from a given date as opposed to Click to expand... the date (Jan 1, 0001) that is used in the .Ticks method?
Dim dt1 As Date = Date.Now Dim dt2 As Date = #7/7/2004# Dim ts As TimeSpan = dt2.Subtract(dt1) Debug.WriteLine(ts.Ticks)) /claes Mark said: How does one determine the number of ticks from a given date as opposed to Click to expand... the date (Jan 1, 0001) that is used in the .Ticks method?