infinite clock seconds in asp.net

  • Thread starter Thread starter jason
  • Start date Start date
J

jason

Is there a datetime switch or function 'that' endless second clock . I
know I've used this in other languages - forget which. Where I can get
a number from the system of seconds counted since some date very long
ago. Not sure if this is available in .net, but it sure is handy.
thanks.
 
Was it this?

DateTime.Ticks Property

Gets the number of ticks that represent the date and time of this instance.

The value of this property is the number of 100-nanosecond intervals that
have elapsed since 12:00 A.M., January 1, 0001.
 
Well, System.DateTime.Ticks will give you the number of 100-nanosecond
intervals that have elapsed since January 1, 0001 at 12:00 am, given an
instance of the DateTime Structure.
 
Back
Top