SplFileInfo::getCTime
(PHP 5 >= 5.1.2)
SplFileInfo::getCTime — دریافت زمان تغییر inode
Description
public int SplFileInfo::getCTime
( void
)
بازگرداندن زمان تغییر inode برای فایل. زمان بازگردانده شده برچسب زمانی Unix timestamp است.
Parameters
This function has no parameters.
Return Values
آخرین زمان تغییر در برچسب زمانی Unix.
Errors/Exceptions
ایجاد RunTimeException در صورت خطا.
Examples
Example #1 مثال SplFileInfo::getCTime()
<?php
$info = new SplFileInfo(__FILE__);
echo 'Last changed at ' . date('g:i a', $info->getCTime());
?>
The above example will output something similar to:
Last changed at 1:49 pm
There are no user contributed notes for this page.
