A time gateway