Jump to content

[SOLVED] PHP - mktime Help


stormx

Recommended Posts

date

 

Put date around mktime with the format following the guidelines on the date page.

 

<?php


$three = date("FORMATHERE", mktime(0, 0, 0, date("n")/-date("j")+3/-date("Y")));

echo "$three";

?>

 

Should work, just replace the FORMATHERE part with the format you want.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.