|
Posted by Chuck Anderson on 02/28/07 18:36
Martin Mandl - m2m tech support wrote:
> On Feb 28, 8:51 am, terrychangsh...@gmail.com wrote:
>
>> I think this must be easy but, alas, I can't find it!
>> Is there any function I can use to change a file's date/time?
>>
>
> It is ;) Have a look at http://at.php.net/manual/en/function.touch.php
>
> bool touch ( string $filename [, int $time [, int $atime]] )
>
> However, it does not really work under Windows.
>
That's an overstatement, In Windows you can not modify the date and time
of a *folder*. It works fine on files, though.
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************
[Back to original message]
|