cy.clock() allows you to control the system clock, and cy.tick() advances time, useful for testing time-dependent functionality.