AnsweredAssumed Answered

AFTimeSpan time boundary

Question asked by kwon on Jan 15, 2015
Latest reply on Jan 16, 2015 by Eugene Lee

I'm trying to calculate an average by month like below coding. but if I put "14-dec-31" in endtime, then it means "14-dec-31 00:00:00" or "14-dec-31 23:59:59"?

 

AFTimeRange myTimeRange = new AFTimeRange();

            myTimeRange.StartTime = new AFTime("14-jan-1");

            myTimeRange.EndTime = new AFTime("14-dec-31");

            AFTimeSpan span = new AFTimeSpan(months: 1);

Outcomes