开发者

How do I get the_time as one string of numbers in wordpress?

I'm using wordpress. I remember messing with the code of <?php the_time('d.m.y') ?> and getting something like "2011161457" (2011 16-1 4:57) I don't remember how I did it. I want 开发者_如何学JAVAjust the numbers anyone knows how to do it?


Look at the PHP date() man page. Wordpress's time_time() is basically just a wrapper around that and uses the exact same formating options.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜