I need to find out how to calculate how many days have past when the system time passes through to the next month.
For instance todays date is 29/8 (29
matters here) and if server rolled to sat 1/9. That would be 3 days from current month day to next month day. If I get simply use CurrentDay - RolledDay = 29 - 1 = 28 days which is not what I want.
anyone know how to do this?