How to create a simple timer?

For something super simple you could just increment an int. If your sketch is running at 30 fps then every 30 increments is 1 second.