Posted by NC on 04/05/06 06:47
mbyrd1332@gmail.com wrote:
>
> Just wondering if any of you knew of a way to trap the <!-- #BeginDate
> format:Am1 -->April 4, 2006<!-- #EndDate --> (Dreamweaver's
> Auto-Update-on-Save Date Code) into a PHP variable and still have the
> Date update on save?
Why bother? Just use the file system functions:
$saved_date = date('F j, Y', filectime(__FILE__));
Cheers,
NC
[Back to original message]
|