Time calculation near real time