Hello,

I'm trying to solve my problem (displaying a user notice is a post is older than a year) and when I do

$post_year = the_time('Y');
echo intval($post_year);

For a 2007 post for example, the value displayed is 20070, not 2007

Is not normal ?

Thanks

Luc

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to