B-theory of time