For testing. Set e.g. with the setmocktime rpc, or -mocktime argument.
Declared in <util/time.h>
<util/time.h>
void SetMockTime(std::chrono::seconds mock_time_in);