DateTime.UtcNow is added as root attribute, 'Modified' of an xml whenever
xml is changed.
Every 5 secs a check is made whether xml is changed or not, by comparing
previous 'Modified' and current 'Modified'.
By considering performance in mind whats best to way of stroring and
calculating date in this case?
Is UtcNow best for comparing every 5 secs.?
Or is it better saving UtcNow.ticks and comparing it.?
How to get UtcNow.ticks in seconds/milliseconds?
UtcNow.ticks gives ticks from Jan 01, 0001. How to get it from another date,
say How to get ticks/milliseconds since jan 01, 1970 (as in case of
Javascript)?
thanks,
Praveen