Corrected time calculation for get command