현재 위치: > 함수 카테고리 모음> fileatime

fileatime

파일의 마지막 액세스 시간을 가져옵니다
이름:fileatime
분류:파일 시스템
사용 언어:php
한 줄 설명:파일의 마지막 액세스 시간을 반환합니다.

 <span class="token php language-php"><span class="token delimiter important"><? php</span>
<span class="token keyword">echo</span> <span class="token function">fileatime</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token keyword">에코</span> <span class="token string double-quoted-string">"마지막 액세스 :"</span> <span class="token operator">.</span> <span class="token function">날짜</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"f d yh : i : s."</span> <span class="token punctuation">,</span> <span class="token function">fileatime</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">)</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

산출:

 1140684501
마지막 액세스 : 2006 년 2 월 23 일 09:48:21.
유사한 함수
  • Unlink () 또는 unset ()을 참조하십시오 (PHP는 키워드 또는 함수가 삭제되지 않습니다) delete

    delete

    Unlink()또는unset()을참조
  • 파일 포인터 위치를 되 감습니다 rewind

    rewind

    파일포인터위치를되감습니다
  • disk_free_space의 별칭 diskfreespace

    diskfreespace

    disk_free_space의별칭
  • 새 디렉토리를 만듭니다 mkdir

    mkdir

    새디렉토리를만듭니다
  • RealPath 캐시 항목을 얻으십시오 realpath_cache_get

    realpath_cache_get

    RealPath캐시항목을얻으십시오
  • 파일에 쓰기 (이진 파일에 안전하게 사용) fwrite

    fwrite

    파일에쓰기(이진파일에안전하게사용)
  • 주어진 파일 이름이 디렉토리인지 확인하십시오 is_dir

    is_dir

    주어진파일이름이디렉토리인지확인하십시오
  • 주어진 파일 이름이 실행 가능한지 확인하십시오 is_executable

    is_executable

    주어진파일이름이실행가능한지확인하십시오