Testing the time
Monday, August 14th, 2006Yes right now I’m testing out the timestamp.
Nope it didn’t work. It changed the time, but it still says AM instead of PM. There is no option available to change from AM to PM.
I surfed the web and found a code to add to my php script for local time.
No, it changed all the posts to the same time. They all say 2:34pm!
Hmmm… I wonder if this plugin will work?
No! It did the same thing!
Maybe if I remove the echo…
Nope, that didn’t work.
Oh I see..if I remove the word recent and keep echo it just might work…
Instead of <?php echo c2c get_recent_custom(‘time’); ?>
I’ll put <?php echo c2c get_custom(‘time’); ?>
Yay! I got it to work!! Now All my post will be posted in my time locally!
I can remember roughly what time I posted my last 2 or 3 posts, but for all the others I have no idea what time I posted them. So they won’t have times posted with them I’ll just put “time not available” for them.
If you must know:
What I did to get my post to appear as local time instead of server time is I installed a plugin to allow me to use a custom field. I then replaced the php code for get_time to the get_custom php code. So now with every post I have to enter the time manually which is more work, but people who don’t know that my posts are posted in server time won’t think I’m sitting here posted comments at 4am in the morning like I have no life.
The link to the plugin is: Coffee2code.com
Later..