Your Ad Here

Posted By

justinseiter on 07/10/09


Tagged

php


Versions (?)

PHP Timestamp


 / Published in: PHP
 

URL: http://us3.php.net/mktime

  1. <?=date('Y', mktime())?>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: rebellion on July 10, 2009

It's easier to write it like this:

Posted By: rebellion on July 10, 2009

Comment field broke my code, it was supposed to say:

``

Posted By: rebellion on July 10, 2009

````

Posted By: rebellion on July 10, 2009

OMFG, it won't take my code.

Posted By: Doq on July 20, 2009

I wonder if [code] [/code] or would work.

Posted By: Doq on July 20, 2009

Well, that sucks

<?=date('Y', mktime())?>

Posted By: Doq on July 20, 2009

OK, the script strips anything that looks like HTML, from comments, so you have to escape it, to post. There's my good deed, for the day, done.

You need to login to post a comment.