The Wave Theory of Time