Time gate