pygame.time.get_ticks() -> int This is the time in milliseconds since the beginning. The timer has a resolution of about 10 milliseconds (give or take depending on the platform).
pygame.time.delay(millseconds) -> none Will pause for a given number of milliseconds.