Title: Problem with Wrong Dates
Last modified: June 26, 2019

---

# Problem with Wrong Dates

 *  Resolved [alekgenesis](https://wordpress.org/support/users/alekgenesis/)
 * (@alekgenesis)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/)
 * Hello there!
 * I’m experiencing an issue with the plugin.
 * The dates are automatically set to 1970 something so that none of the newly created
   discounts work. I set a start and end date to say 2019 sth and it looks like 
   they are being overwritten to 1970.
 * Maybe there is a conflict between your plugin and some other plugins/functions
   on my website???
 * Please help me resolve that issue.
 * Take care!
    -  This topic was modified 6 years, 10 months ago by [alekgenesis](https://wordpress.org/support/users/alekgenesis/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-wrong-dates%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/problem-with-wrong-dates/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problem-with-wrong-dates/page/2/?output_format=md)

 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11674011)
 * Hello,
    Do you have ACF installed on your site?
 *  [bmilek](https://wordpress.org/support/users/bmilek/)
 * (@bmilek)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11676340)
 * I’m having the same problem with my site
 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11676859)
 * Hello [@bmilek](https://wordpress.org/support/users/bmilek/),
    Do you have ACF
   installed on your site? If not, can you provide a copy of your system status 
   report in WooCommerce > Status?
 *  Thread Starter [alekgenesis](https://wordpress.org/support/users/alekgenesis/)
 * (@alekgenesis)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678193)
 * [@mano88](https://wordpress.org/support/users/mano88/) No ACF here
 * Here is the copy of the system status:
 *     ```
       ### WordPress Environment ###
   
       WordPress address (URL): https://eco-stock.pl
       Site address (URL): https://eco-stock.pl
       WC Version: 3.6.4
       Log Directory Writable: ✔
       WP Version: 5.2.2
       WP Multisite: –
       WP Memory Limit: 512 MB
       WP Debug Mode: –
       WP Cron: ✔
       Language: pl_PL
       External object cache: –
   
       ### Server Environment ###
   
       Server Info: LiteSpeed
       PHP Version: 7.0.33 - Rekomendujemy używanie PHP w wersji 7.2 lub wyższej w celu osiągnięcia większej wydajności oraz bezpieczeństwa. Jak zaktualizować wersję PHP
       PHP Post Max Size: 512 MB
       PHP Time Limit: 300
       PHP Max Input Vars: 10000
       cURL Version: 7.62.0
       OpenSSL/1.0.2k
   
       SUHOSIN Installed: –
       MySQL Version: 10.2.23-MariaDB-cll-lve
       Max Upload Size: 512 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔
   
       ### Database ###
   
       WC Database Version: 3.3.5
       WC Database Prefix: wp_
       MaxMind GeoIP Database: ✔
       Całkowity rozmiar bazy danych: 13.70MB
       Rozmiar bazy danych: 9.57MB
       Rozmiar indeksu bazy danych: 4.13MB
       wp_woocommerce_sessions: Dane: 1.02MB + Indeks: 0.02MB
       wp_woocommerce_api_keys: Dane: 0.02MB + Indeks: 0.03MB
       wp_woocommerce_attribute_taxonomies: Dane: 0.02MB + Indeks: 0.02MB
       wp_woocommerce_downloadable_product_permissions: Dane: 0.02MB + Indeks: 0.05MB
       wp_woocommerce_order_items: Dane: 0.20MB + Indeks: 0.08MB
       wp_woocommerce_order_itemmeta: Dane: 1.52MB + Indeks: 1.97MB
       wp_woocommerce_tax_rates: Dane: 0.02MB + Indeks: 0.06MB
       wp_woocommerce_tax_rate_locations: Dane: 0.02MB + Indeks: 0.03MB
       wp_woocommerce_shipping_zones: Dane: 0.02MB + Indeks: 0.00MB
       wp_woocommerce_shipping_zone_locations: Dane: 0.02MB + Indeks: 0.03MB
       wp_woocommerce_shipping_zone_methods: Dane: 0.02MB + Indeks: 0.00MB
       wp_woocommerce_payment_tokens: Dane: 0.02MB + Indeks: 0.02MB
       wp_woocommerce_payment_tokenmeta: Dane: 0.02MB + Indeks: 0.03MB
       wp_woocommerce_log: Dane: 0.02MB + Indeks: 0.02MB
       wp_adtribes_my_conversions: Dane: 0.02MB + Indeks: 0.02MB
       wp_commentmeta: Dane: 0.00MB + Indeks: 0.01MB
       wp_comments: Dane: 0.12MB + Indeks: 0.05MB
       wp_links: Dane: 0.00MB + Indeks: 0.00MB
       wp_nextend2_image_storage: Dane: 0.02MB + Indeks: 0.02MB
       wp_nextend2_section_storage: Dane: 0.02MB + Indeks: 0.03MB
       wp_nextend2_smartslider3_generators: Dane: 0.02MB + Indeks: 0.00MB
       wp_nextend2_smartslider3_sliders: Dane: 0.03MB + Indeks: 0.00MB
       wp_nextend2_smartslider3_sliders_xref: Dane: 0.02MB + Indeks: 0.00MB
       wp_nextend2_smartslider3_slides: Dane: 0.05MB + Indeks: 0.00MB
       wp_options: Dane: 0.85MB + Indeks: 0.08MB
       wp_postmeta: Dane: 3.65MB + Indeks: 0.96MB
       wp_posts: Dane: 0.99MB + Indeks: 0.20MB
       wp_rm_fields: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_forms: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_front_users: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_notes: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_paypal_fields: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_paypal_logs: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_rules: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_sent_mails: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_sessions: Dane: 0.05MB + Indeks: 0.00MB
       wp_rm_stats: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_submissions: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_submission_fields: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_tasks: Dane: 0.02MB + Indeks: 0.00MB
       wp_rm_task_exe_log: Dane: 0.02MB + Indeks: 0.00MB
       wp_termmeta: Dane: 0.02MB + Indeks: 0.03MB
       wp_terms: Dane: 0.00MB + Indeks: 0.01MB
       wp_term_relationships: Dane: 0.02MB + Indeks: 0.04MB
       wp_term_taxonomy: Dane: 0.00MB + Indeks: 0.01MB
       wp_usermeta: Dane: 0.30MB + Indeks: 0.13MB
       wp_users: Dane: 0.01MB + Indeks: 0.02MB
       wp_wcpdf_invoice_number: Dane: 0.02MB + Indeks: 0.00MB
       wp_wc_download_log: Dane: 0.02MB + Indeks: 0.03MB
       wp_wc_product_meta_lookup: Dane: 0.02MB + Indeks: 0.09MB
       wp_wc_webhooks: Dane: 0.02MB + Indeks: 0.02MB
       wp_yoast_seo_links: Dane: 0.02MB + Indeks: 0.02MB
       wp_yoast_seo_meta: Dane: 0.06MB + Indeks: 0.00MB
   
       ### Post Type Counts ###
   
       attachment: 869
       custom_css: 1
       nav_menu_item: 28
       o-discount: 87
       o-list: 6
       page: 14
       post: 3
       product: 126
       product_variation: 230
       revision: 116
       shop_coupon: 1
       shop_order: 169
       sliced_invoice: 1
       wpcf7_contact_form: 3
   
       ### Security ###
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ✔
   
       ### Active Plugins (14) ###
   
       Contact Form 7: przez Takayuki Miyoshi – 5.1.3
       Elementor: przez Elementor.com – 2.5.16
       Flexible Checkout Fields: przez WP Desk – 1.9.3
       My Custom Functions: przez Space X-Chimp – 4.38
       Really Simple SSL: przez Rogier Lankhorst
       Mark Wolters – 3.2.2
   
       reSmush.it Image Optimizer: przez reSmush.it – 0.1.22
       Smart Slider 3: przez Nextend – 3.3.20
       WooCommerce All Discounts Lite: przez ORION – 2.1
       Checkout Field Editor for WooCommerce: przez ThemeHiGH – 1.3.2
       Product Feed PRO for WooCommerce: przez AdTribes.io – 5.8.7
       WooCommerce PDF Invoices & Packing Slips: przez Ewout Fernhout – 2.2.14
       WooCommerce: przez Automattic – 3.6.4
       WordPress Importer: przez wordpressdotorg – 0.6.4
       Yoast SEO: przez Zespół Yoast – 11.5 – Nietestowane z używaną wersją WooCommerce
   
       ### Inactive Plugins (5) ###
   
       Akismet Anti-Spam: przez Automattic – 4.1.2
       Illdy Companion: przez Colorlib – 2.1.2
       Limit Login Attempts: przez Johan Eenfeldt – 1.7.1
       WP All Import: przez Soflyy – 3.5.0
       WP All Import - WooCommerce Add-On: przez Soflyy – 1.4.1
   
       ### Settings ###
   
       API Enabled: ✔
       Force SSL: –
       Currency: PLN (zł)
       Currency Position: right
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
       Taxonomies: Product Types: external (external)
       grouped (grouped)
       simple (simple)
       variable (variable)
   
       Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
       exclude-from-search (exclude-from-search)
       featured (featured)
       outofstock (outofstock)
       rated-1 (rated-1)
       rated-2 (rated-2)
       rated-3 (rated-3)
       rated-4 (rated-4)
       rated-5 (rated-5)
   
       Connected to WooCommerce.com: –
   
       ### WC Pages ###
   
       Strona sklepu: #6547 - /produkty/
       Koszyk: #6548 - /produkty/koszyk/
       Zamówienie: #6549 - /zamowienie/
       Moje konto: #6550 - /moje-konto/
       Regulamin: ❌ Strona nie ustawiona
   
       ### Theme ###
   
       Name: Storefront
       Version: 2.5.0
       Author URL: https://woocommerce.com/
       Child Theme: ❌ – Jeśli modyfikujesz WooCommerce lub motyw nadrzędny
       którego nie jesteś autorem
       polecamy używanie motywu potomnego. Zobacz: Jak tworzyć motywy potomne
   
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Overrides: –
   
       ### Action Scheduler ###
   
       Complete: 0
       Oldest: –
       Newest: –
   
       Pending: 0
       Oldest: –
       Newest: –
   
       Canceled: 0
       Oldest: –
       Newest: –
   
       In-progress: 0
       Oldest: –
       Newest: –
   
       Failed: 0
       Oldest: –
       Newest: –
       ```
   
 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678204)
 * Thank you for providing those.
    Can you run a quick conflict test by: 1-disabling
   all other plugins except woocommerce and our plugin 2-switching the theme to 
   one of the defaults such as twenty sixteen 3-and try again. If everything is 
   working as expected, that means we have a conflict somewhere so you can start
   re enabling the disabled items one by one in order to find the culprit. 4-once
   you do, please let us know so we can start the inspection.
 *  Thread Starter [alekgenesis](https://wordpress.org/support/users/alekgenesis/)
 * (@alekgenesis)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678320)
 * All done – after disabling all plugins and switching the theme the problem with
   dates is still there
    -  This reply was modified 6 years, 10 months ago by [alekgenesis](https://wordpress.org/support/users/alekgenesis/).
 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678385)
 * Did you tried to set the date once again? The old wrong date won’t change until
   you set another date
 *  Thread Starter [alekgenesis](https://wordpress.org/support/users/alekgenesis/)
 * (@alekgenesis)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678422)
 * Yes I did try that
 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678469)
 * And it’s still wrong? That’s very strange but we’ll look into it
 *  Thread Starter [alekgenesis](https://wordpress.org/support/users/alekgenesis/)
 * (@alekgenesis)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678474)
 * Yeah I know… Please do
 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678477)
 * One last thing that may help us move fast on this: can you provide a screenshot
   of the datepicker that allows you to set the date?
 *  Thread Starter [alekgenesis](https://wordpress.org/support/users/alekgenesis/)
 * (@alekgenesis)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678481)
 * Here you go: [https://eco-stock.pl/wp-content/uploads/2019/06/Screenshot-2019-06-27-at-14.35.07.png](https://eco-stock.pl/wp-content/uploads/2019/06/Screenshot-2019-06-27-at-14.35.07.png)
 * And: [https://eco-stock.pl/wp-content/uploads/2019/06/Screenshot-2019-06-27-at-14.37.11.png](https://eco-stock.pl/wp-content/uploads/2019/06/Screenshot-2019-06-27-at-14.37.11.png)
    -  This reply was modified 6 years, 10 months ago by [alekgenesis](https://wordpress.org/support/users/alekgenesis/).
 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678503)
 * Got. In your site settings, what are the dates and time format [http://prntscr.com/o7foer](http://prntscr.com/o7foer)?
 *  Thread Starter [alekgenesis](https://wordpress.org/support/users/alekgenesis/)
 * (@alekgenesis)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11678567)
 * Got it! Changing the dates and time format worked for me! Thank you for the support!
    -  This reply was modified 6 years, 10 months ago by [alekgenesis](https://wordpress.org/support/users/alekgenesis/).
 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/#post-11679135)
 * Then we got the issue. Which format were you using? We’ll add a fix for that 
   in next versions

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/problem-with-wrong-dates/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problem-with-wrong-dates/page/2/?output_format=md)

The topic ‘Problem with Wrong Dates’ is closed to new replies.

 * ![](https://ps.w.org/woo-advanced-discounts/assets/icon-256x256.png?rev=1857281)
 * [Conditional Discounts for WooCommerce - A simple yet complete woocommerce dynamic pricing plugin](https://wordpress.org/plugins/woo-advanced-discounts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-advanced-discounts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-advanced-discounts/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-advanced-discounts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-advanced-discounts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-advanced-discounts/reviews/)

## Tags

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

 * 17 replies
 * 3 participants
 * Last reply from: [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-wrong-dates/page/2/#post-11679491)
 * Status: resolved