setmocktime

hidden

v0.10.4

setmocktime timestamp

Set the local time to given timestamp (-regtest only)

Arguments:
1. timestamp (integer, required) Unix seconds-since-epoch timestamp
Pass 0 to go back to using the system time.
Don't trust. Verify. Docs extracted from src/rpcmisc.cpp#L359-L368.