A Armin Zingler Oct 31, 2003 #3 Crirus said: How to get a timestamp for curent time? Click to expand... Are you looking for System.DateTime.Now? Or System.DateTime.Now.Ticks?
Crirus said: How to get a timestamp for curent time? Click to expand... Are you looking for System.DateTime.Now? Or System.DateTime.Now.Ticks?
H Herfried K. Wagner [MVP] Oct 31, 2003 #4 * "Crirus said: How to get a timestamp for curent time? Click to expand... Where? In your application? In a database? You can get the current time using 'DateTime.Now'.
* "Crirus said: How to get a timestamp for curent time? Click to expand... Where? In your application? In a database? You can get the current time using 'DateTime.Now'.
C Crirus Oct 31, 2003 #5 In my application.. found ticks and is fine, just need to convert to seconds...I dont need smaller precision than second
In my application.. found ticks and is fine, just need to convert to seconds...I dont need smaller precision than second
H Herfried K. Wagner [MVP] Oct 31, 2003 #6 * "Crirus said: In my application.. found ticks and is fine, just need to convert to seconds...I dont need smaller precision than second Click to expand... You can use the 'Ticks' property to get 100 nanosecond intervals since 1. Januar 1, 00:00:00. For example: \\\ Dim s As Long = DateTime.Now.Ticks MsgBox("Time: " & (s * 10 ^ -9) & " seconds") ///
* "Crirus said: In my application.. found ticks and is fine, just need to convert to seconds...I dont need smaller precision than second Click to expand... You can use the 'Ticks' property to get 100 nanosecond intervals since 1. Januar 1, 00:00:00. For example: \\\ Dim s As Long = DateTime.Now.Ticks MsgBox("Time: " & (s * 10 ^ -9) & " seconds") ///
C Crirus Nov 1, 2003 #7 Yes Thanks Crirus Herfried K. Wagner said: You can use the 'Ticks' property to get 100 nanosecond intervals since 1. Januar 1, 00:00:00. For example: \\\ Dim s As Long = DateTime.Now.Ticks MsgBox("Time: " & (s * 10 ^ -9) & " seconds") /// Click to expand...
Yes Thanks Crirus Herfried K. Wagner said: You can use the 'Ticks' property to get 100 nanosecond intervals since 1. Januar 1, 00:00:00. For example: \\\ Dim s As Long = DateTime.Now.Ticks MsgBox("Time: " & (s * 10 ^ -9) & " seconds") /// Click to expand...