Returns the current server time in milliseconds.
Used internally by Event and Element to evaluate time-based state transitions.