Solution The Number of Full Rounds You Have Played
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```php []\nclass Solution {\n    public function numberOfRounds(string $loginTime, string $logoutTime): int {\n        $INtime = ((intval($loginTime[0]) * 10 + intval($loginTime[1])) * 60) + (intval($loginTime[3]) * 10 + intval($loginTime[4]));\n        $OUTtime = ((intval($logoutTime[0]) * 10 + intval($logoutTime[1])) * 60) + (intval($logoutTime[3]) * 10 + intval($logoutTime[4]));\n\n        if ($OUTtime < $INtime) {\n            $OUTtime += 1440;\n        }\n\n        if ($INtime % 15 != 0) {\n            $val = intdiv($INtime, 15);\n            $INtime = ($val + 1) * 15;  \n        }\n\n        return abs($OUTtime - $INtime) / 15;\n    }\n}\n\n```
['PHP']