How to change the time in container

I want to test a particular case that happens in leap years. So, I want to change the time of the container. Is it possible? How?