Title: [Plugin: WPBook] Timestamp for Imported Comments
Last modified: August 19, 2016

---

# [Plugin: WPBook] Timestamp for Imported Comments

 *  Resolved [mtomko](https://wordpress.org/support/users/mtomko/)
 * (@mtomko)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/)
 * Hi,
 * First I want to say how much I liek WPBook. It is relatively easy to use and 
   it worked right away.
 * That said, I was curious as to why the timestamp for imported posts from Facebook
   is usually a few hours ahead into the future. Is there a hardcoded timezone?
 * Thanks for your help.
 * -Mike
 * [http://wordpress.org/extend/plugins/wpbook/](http://wordpress.org/extend/plugins/wpbook/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/#post-1653147)
 * This is an interesting problem – I’m sure the issue will come down to time zones.
 * I’m pulling comments from the Facebook comments table: [http://developers.facebook.com/docs/reference/fql/comment](http://developers.facebook.com/docs/reference/fql/comment)
 * That stores a time for the comment (as a Unix timestamp) – but in what timezone?
 * Will require some investigation.
 * What timezone is your blog in?
 *  Thread Starter [mtomko](https://wordpress.org/support/users/mtomko/)
 * (@mtomko)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/#post-1653148)
 * My site is set to Central Time (US).
 * No need to rush on this, just thought I’d bring it up. Thanks!
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/#post-1653149)
 * So I posted yesterday at 3:20 Eastern time, and someone commented on that post.
 * That comment has a unix timestamp of 1283372870
 * Which translates to Wed, 01 Sep 2010 20:27:50 GMT
 * or Wed Sep 01 2010 16:27:50 GMT-0400 (EDT)
 * in my timezone.
 * So I guess what I need to do is take the unix timestamp I get from FB and translate
   it to the timezone set for the blog, based on `get_option('gmt_offset');`
 *  Thread Starter [mtomko](https://wordpress.org/support/users/mtomko/)
 * (@mtomko)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/#post-1653150)
 * That’s cool! Glad that it wasn’t too hard to find. Appreciate you looking into
   it.
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/#post-1653159)
 * Fixed in trunk (just checked in and tested – will be in 2.0.9)
 *  Thread Starter [mtomko](https://wordpress.org/support/users/mtomko/)
 * (@mtomko)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/#post-1653162)
 * Awesome! Thanks for looking into it. Much appreciated.
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/#post-1653208)
 * [@mtomko](https://wordpress.org/support/users/mtomko/) I’m going to mark this
   resolved – but do let us know if it isn’t working for your blog
 *  Thread Starter [mtomko](https://wordpress.org/support/users/mtomko/)
 * (@mtomko)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/#post-1653212)
 * Thanks John.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘[Plugin: WPBook] Timestamp for Imported Comments’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpbook_eeeeee.svg)
 * [WPBook](https://wordpress.org/plugins/wpbook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpbook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpbook/)
 * [Active Topics](https://wordpress.org/support/plugin/wpbook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpbook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpbook/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [mtomko](https://wordpress.org/support/users/mtomko/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpbook-timestamp-for-imported-comments/#post-1653212)
 * Status: resolved