This question already has an answer here:
I use truffle + testrpc for testing my contracts and I need to test some time-dependant code (I guess that situation is quite common). I set some objects, check some conditions, then I need to simulate time forwarding to check conditions again.
I can't figure out what is the best way to use that
evm_increaseTime function and how, though I am sure lots of people already solved that problem.