Hi all,
Have you ever used DateTime to caculate datetime?
I'm testing a system about database priviliges. For appling privileges , It can chose 1day, 3days , 7days, 1month ,3months,6months or 1year.
Using Datetime Library, I can add 1day ,3days,7days to current date. But can not add month or year to date.
It is not convenient to use one buildin lib and one custom lib for datetime addition and subtraction.
So, I think DateTime should solve all these issues. What about your opinion ?
Thanks.