Firstly, you will be having a date of comment posted right? Ex: PostedDate
secondly, you can fetch today's date. using DateTime.Now. Ex: CurrentDate
Finally, Compare it using
TimeSpan t = CurrentDate.Substract(PostedDate);
Now, say
t.Days to get difference :)
Thanks