strtotime
Posted: Wed Apr 12, 2006 8:31 pm
Hello,
Good grief...!
I have tried on several occasions to get my head around this one but to no avail. This is a piece of code that found on this forum.
and imbedded in the body, in a hidden field in the body of html
Unfortunately it doesn't add fifteen hours to the timestamp.
Thanks ahead to anybody that can point me in the right direction.
Good grief...!
I have tried on several occasions to get my head around this one but to no avail. This is a piece of code that found on this forum.
Code: Select all
<?php
$currentdate = getdate(time());
$ausZone = strtotime('+ 15 hours',$currentdate);
?>Code: Select all
<input name="date" type="hidden" value="<?php echo "Application was lodged on ".$ausZone["wday"]." ".$ausZone["month"]." ".$ausZone["year"];?>">Thanks ahead to anybody that can point me in the right direction.