A feature of ours requires the SUT's execution over various days. We would like to cover this functionality within our integration tests.
So I was wondering, is it possible and safe to advance/modify the system time during the execution of a test suite? What are the (side) effects? I assume that the dates and execution spans in the report will get mixed up inevitably.
Regarding code to change the system time in C#, I have found this Stack Overflow post: Change system date programmatically.
Do other test strategies/approaches/patterns come to your mind, that avoid fiddleing around with the system time?