get the currentTime in the getInventoryText()