According to wikipedia, spacetime is modeled via a pseudo-Riemannian 4-manifold, with one dimension representing time and the other three dimensions representing space. I would like to know whether that manifold can possibly be viewed as a (surjective) function $F$ from a real interval $I$ onto a set $S$, where each point $t\in I$ represents time and each $F(t)\in S$ represents a collection of points in space (e.g. $F(t)$ represents all of space at time $t$).
Obviously this is not always possible for Riemannian 4-manifolds, e.g. the unit sphere in $\mathbb{R}^5$. But I don't need it to always be possible. On the other hand, I do need something that comports with physics; so I can't just take $\mathbb{R}^4$ itself, for instance.
Any help would be appreciated.