Turn back time?

Is there a way, maybe a tutorial on how to create a stop and rewind “time” function like something from prince of Persia: sands of time or something. I’m new to all of this and want to create a time traveling game. Are their any suggestions as to where I can look? I would like to also create an in game charactor editor like The Sims or World of Warcraft has but I don’t know where to start. Thank you for the help. Hopefully this will help others too.

There’s an official tutorial for character editor.

You’d basically have to make a replay system, and just apply the states backwards to make it reverse.
Maybe these can help.

http://gamedev.stackexchange.com/questions/45853/super-meatboy-ish-replay
http://gamedev.stackexchange.com/questions/32501/replay-system-record-inputs-or-events