Title: Custom date fields
Last modified: December 18, 2019

---

# Custom date fields

 *  Resolved [matreaus](https://wordpress.org/support/users/matreaus/)
 * (@matreaus)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-date-fields/)
 * Hello,
 * I am trying to get the plugin to work with ACF date field, but it seems not possible.
   The problem is with date formats – WOOF uses timestamp and ACF uses Y-m-d format
   in the database.
    Is there a way to solve this?

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

 *  Plugin Author [RealMag777](https://wordpress.org/support/users/realmag777/)
 * (@realmag777)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-date-fields/#post-12251241)
 * Hello
 * Unfortunately not as for filtration it is nessesary integer data. Try hook woof_meta_data_datapicker
   to change search query, also paly with using meta date type – [https://c2n.me/45afcJt.png](https://c2n.me/45afcJt.png)
 * p.s. maybe this article will help you use ACF data fields as timestamp [https://support.advancedcustomfields.com/forums/topic/date-time-picker-should-optionally-save-timestamp/](https://support.advancedcustomfields.com/forums/topic/date-time-picker-should-optionally-save-timestamp/)
 *  [tnkaoua](https://wordpress.org/support/users/tnkaoua/)
 * (@tnkaoua)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-date-fields/#post-12297701)
 * Hi
 * To solve this issue, I have added a timestamp meta field to the products, then
   added the timestamp in this field from strtotime(metadata date). You have to 
   setup “something” for new products…
 * Then, use datepicker with number format, not with date format.Filtering works.
 * There seems to exist a layout bug when using datepicker, I will open a new thread
   for this bug.
 * Kind regards
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-date-fields/#post-12303906)
 * Hello
 * Ok! Thank you for cooperation!

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

The topic ‘Custom date fields’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-products-filter/assets/icon-256x256.png?rev=
   2844301)
 * [HUSKY - Products Filter for WooCommerce Professional](https://wordpress.org/plugins/woocommerce-products-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-products-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-products-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-products-filter/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/custom-date-fields/#post-12303906)
 * Status: resolved