시간 비교시, 초 보다는 밀리세컨즈 단위로 비교하는 것이 보다 정확하기 때문에 13자리 또는 16자리(백만분의1초) 타임스탬프를 생성하여 비교하면 유용함. list($microtime, $timestamp) = explode(' ',microtime()); // 밀리세컨즈 (13자리) $time = $timestamp . substr($microtime, 2, 3); // 100만 분의 1 microtime 추가 (16자리) $time = $timestamp . substr($microtime, 2, 6);