Time-piece: a model to handle time