mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
<note>filemtime() for a different file; See also filemtime().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@109342 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0da1ec65ad
commit
90113e1a02
1 changed files with 12 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.getlastmod">
|
||||
<refnamediv>
|
||||
|
@ -20,18 +20,27 @@
|
|||
<title>getlastmod() example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// outputs e.g. 'Last modified: March 04 1998 20:43:59.'
|
||||
echo "Last modified: " . date ("F d Y H:i:s.", getlastmod());
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
If you're interested in getting the last modification time
|
||||
of a different file, consider using <function>filemtime</function>.
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
See also <function>date</function>,
|
||||
<function>getmyuid</function>, <function>getmygid</function>,
|
||||
<function>get_current_user</function>,
|
||||
<function>getmyinode</function>, and
|
||||
<function>getmypid</function>.
|
||||
<function>getmyinode</function>,
|
||||
<function>getmypid</function>, and
|
||||
<function>filemtime</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue