convert from Timespan to int ??
C#
4
Posts
4
Posters
0
Views
1
Watching
-
what do u want to do with the int?
Harvey Saayman - South Africa Junior Developer .Net, C#, SQL
you.suck = (you.passion != Programming)
-
i think u just use Ticks property of time that timespan but it returns 64 bits integer (long).
TimeSpan ts = new TimeSpan(DateTime.Now.Ticks);
long ticks = ts.Ticks;dhaim program is hobby that make some money as side effect :)