Title: Problem with saved timestamp
Last modified: June 2, 2020

---

# Problem with saved timestamp

 *  Resolved [analogyuk](https://wordpress.org/support/users/analogyuk/)
 * (@analogyuk)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-saved-timestamp/)
 * Hi, I have my store location timezone set to London (latest plugin version).
 * When I placed a test order just now (2nd June 2020) the timestamp being saved
   in “delivery_date” custom field is:
    1591052400 … which translates to 11pm on
   1st June 2020 – wrong!
 * The order date shows correctly as 2nd June 2020 in Woocommerce, but I can’t work
   out why the timezone is being saved incorrectly into the custom field.
 * This is a problem as I’m then converting the timestamp back into a date to print
   on the automatic receipts and it’s getting the wrong date.
 * I also notice that the plugin says the timezone for London is GMT/UTC +00:00,
   but in London right now we are actually on BST which is +01:00 from GMT/UTC. 
   I’ve tried selecting a timezone that’s +1 hour, but that causes other issues 
   like the available list of delivery slots being wrong by an hour at checkout.
 * Any suggestions as to why the timestamp is being set to the incorrect date would
   be very gratefully received as I’m out of ideas now!
 * Thanks in advance 🙂

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

 *  Plugin Author [shoroar](https://wordpress.org/support/users/shoroar/)
 * (@shoroar)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-saved-timestamp/#post-12928231)
 * Hello [@analogyuk](https://wordpress.org/support/users/analogyuk/)
 * The problem is fixed in our latest version. Please update the plugin.
 * Thank you.
 *  Thread Starter [analogyuk](https://wordpress.org/support/users/analogyuk/)
 * (@analogyuk)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-saved-timestamp/#post-12928263)
 * Hi, as I mentioned above I am already running the latest version 1.2.14 but still
   have the problem as described.
 *  Thread Starter [analogyuk](https://wordpress.org/support/users/analogyuk/)
 * (@analogyuk)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-saved-timestamp/#post-12928279)
 * I’ve just seen you have now updated to 1.2.15 will try that – thanks!
 *  Thread Starter [analogyuk](https://wordpress.org/support/users/analogyuk/)
 * (@analogyuk)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-saved-timestamp/#post-12929026)
 * As far as I can tell this seems to be working properly now – many thanks for 
   getting back to me so quickly!! 🙂
 *  Plugin Author [shoroar](https://wordpress.org/support/users/shoroar/)
 * (@shoroar)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-saved-timestamp/#post-12937117)
 * Hello [@analogyuk](https://wordpress.org/support/users/analogyuk/)
 * We get back to you because we alter our previous version code in the new version
   as we realize that the previous code was correct.
 * To convert the timestamp back into a date to print on the automatic receipts 
   correctly, you have to first set the timezone.
 * Please contact us at [support@coderockz.com](https://wordpress.org/support/topic/problem-with-saved-timestamp/support@coderockz.com?output_format=md)
   for further assistance. we will help you to get the correct date.

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

The topic ‘Problem with saved timestamp’ is closed to new replies.

 * ![](https://ps.w.org/woo-delivery/assets/icon-256x256.png?rev=2421326)
 * [Delivery & Pickup Date Time for WooCommerce](https://wordpress.org/plugins/woo-delivery/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-delivery/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-delivery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-delivery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-delivery/reviews/)

## Tags

 * [timezone](https://wordpress.org/support/topic-tag/timezone/)

 * 5 replies
 * 2 participants
 * Last reply from: [shoroar](https://wordpress.org/support/users/shoroar/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/problem-with-saved-timestamp/#post-12937117)
 * Status: resolved