Last post Mar 29, 2006 03:27 PM by Caddre
Mar 27, 2006 03:20 PM|bmains|LINK
The DateTime class has AddMonth, AddDay, etc members; I had a use for it to have SubtractDay, SubtractMonth members as well. That would be a nice feature to have. I have a process that has to archive one month or more old data, and it would be nice to
be able to use this method rather than using a special method of mine.
Mar 27, 2006 04:05 PM|jcasp|LINK
Mar 28, 2006 01:06 PM|bmains|LINK
As an alternative, I suggested storing 30 days worth, rather than one days worth; but if i'm on feb 28th; I would only want data from jan 31 to feb 28, not jan 28 to feb 28 for one month.
Mar 29, 2006 03:27 PM|Caddre|LINK
You are looking for the Month/Year version of Time Interval and it is already there, the first link covers what you are looking for. February being 28/29 is the reason there are two Time Interval Day/Hours and Month/Year. Try the links below for details.
Hope this helps.