The problem is the best way to compare DateTime form the past with now. I try to diff a past of time with DateTime now but It's not absolutely solve my problem. The function I have try is here =>
public void diffOfEpochTime(DateTime past_time){
double howlong = (DateTime.Now() - past_time).TotalDays;
Console.write(howlong/365.25 + " Year "
+ (howlong%365.25)/30 + " Month "
+ (howlong%365.25)%30 + " Day");
}
Seem like it's work but actually not because the diff of time is missed some of month and day.
Example the Time is January 1, 2018 12:00:00 AM and today is March 1, 2018 12:00:00 AM the answer should be 0 Year 2 Month 1 Day. but the Function's answer is 0 Year 1 month 29 Day
Anyone have a suggestion to me how to dare with this, Thank you.