Wordpress post time minus 13 hours?
May 24, 2008 1:27 AM
Subscribe
I need Wordpress to display the_time as well as the_time - X.
I maintain a blog that runs on Japan time. It's easy to have the template contain a call to the_time and it displays just fine. I want to change my template so that the time fields would show "2:00 PM (1:00 PM EST)".
I've tried many variants like:
the_time('g:i') + 1
the_time('g'+1)
the_time('g')+1
Nothing seems to display what I want. I've googled it, and there are tons of hits on how to use the PHP time() function, but this seems different to me. This really has nothing to do with the current server time, I'm just transforming the result of a database call.
posted by mysterious1der to computers & internet (8 comments total)
1 user marked this as a favorite
posted by sycophant at 1:48 AM on May 24