Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
The carts have a built-in battery to track time and stuff. Just wait until it runs dry or remove it manually (if you're comfortable with dismantling your game).