I need to calculate the average the following observed dates:
1/7/2010
15/7/2011
17/6/2012
3/7/2013
How can I do that in asp.net or any other language. If there is any formula to do that.
I need to calculate the average the following observed dates:
1/7/2010
15/7/2011
17/6/2012
3/7/2013
How can I do that in asp.net or any other language. If there is any formula to do that.
You need to convert it to Ticks (this will convert it to System.Int64
) and then do the average of them all.
See the following answer: https://stackoverflow.com/a/16683441/643761