#112: moved time support code temporary to sandbox