adding function getTime in physicalCalulator