Title: Meta Value DateTime Format
Last modified: May 20, 2021

---

# Meta Value DateTime Format

 *  Resolved [greenpointcomputerservices](https://wordpress.org/support/users/greenpointcomputerservices/)
 * (@greenpointcomputerservices)
 * [5 years ago](https://wordpress.org/support/topic/meta-value-datetime-format/)
 * Hi,
    I’m using this plugin to expire WooCommerce products. I use the WooCommerce
   import/export CSV feature as I have a lot of products. I would like to import
   export dates for product so I can set expirations in one go instead of editing
   for each individual product. I have set an expiration date for one product as
   2021 June 01, 09:00, Draft. I can see from the WooCommerce CSV export that this
   is saved as: Meta: _expiration-date 1622534400 My question is, how does 1622534400
   equate to 2021 June 01, 09:00, Draft? What format can I put in my CSV import 
   to set an expiration date of a particular product? Many Thanks Alex D

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

 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [5 years ago](https://wordpress.org/support/topic/meta-value-datetime-format/#post-14465035)
 * Hi [@greenpointcomputerservices](https://wordpress.org/support/users/greenpointcomputerservices/)
 * Sorry there’s not much more info on this. We’ve just taken over this plugin and
   are still getting rolling with this plugin, including standing up documentation.
 * Does this code example help? [https://publishpress.com/knowledge-base/technical-details/](https://publishpress.com/knowledge-base/technical-details/)
 * The date is set in Unix time. It’s an integer number that counts date and time
   in seconds since 1970-01-01.
 *  Thread Starter [greenpointcomputerservices](https://wordpress.org/support/users/greenpointcomputerservices/)
 * (@greenpointcomputerservices)
 * [5 years ago](https://wordpress.org/support/topic/meta-value-datetime-format/#post-14474563)
 * Hi Steve,
 * Thanks, this is just what I was looking for 🙂 I will import as UNIX time
 * Thanks again!
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [5 years ago](https://wordpress.org/support/topic/meta-value-datetime-format/#post-14476108)
 * You’re welcome, [@greenpointcomputerservices](https://wordpress.org/support/users/greenpointcomputerservices/)
 * If there are more ways we can improve the documentation, please let us know.

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

The topic ‘Meta Value DateTime Format’ is closed to new replies.

 * ![](https://ps.w.org/post-expirator/assets/icon-256x256.png?rev=3118683)
 * [Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories](https://wordpress.org/plugins/post-expirator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-expirator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-expirator/)
 * [Active Topics](https://wordpress.org/support/plugin/post-expirator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-expirator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-expirator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/meta-value-datetime-format/#post-14476108)
 * Status: resolved