Title: Unixtimestamp Example
Last modified: August 22, 2016

---

# Unixtimestamp Example

 *  Resolved [PatNarciso](https://wordpress.org/support/users/patnarciso/)
 * (@patnarciso)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/unixtimestamp-example/)
 * Hey there,
 * Great plugin, thank you.
 * Do you have a working example of how to setup a datetime fields that reads a 
   unix timestamp value, and returns (via post) the unix timestamp?
 * jQuery doc says to use ‘@’ as the parse value. But that only gets me so far.
 * In the demo examples, I see date, time, and datetime — however when I get close,
   the returned value is: UTS(of the date) + ‘ ‘ + hh:ss.
 * I also see via the changelog a bunch of references towards internal unix timestamp.
 * Thank you–
 * [https://wordpress.org/plugins/meta-box/](https://wordpress.org/plugins/meta-box/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Anh Tran](https://wordpress.org/support/users/rilwis/)
 * (@rilwis)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/unixtimestamp-example/#post-5806266)
 * Hi, you just need to add a parameter ‘timestamp’ = true to datetime field, it
   will saves datetime in unix timestamp and still displays in a human-readble format.

Viewing 1 replies (of 1 total)

The topic ‘Unixtimestamp Example’ is closed to new replies.

 * ![](https://ps.w.org/meta-box/assets/icon-128x128.png?rev=1100915)
 * [Meta Box](https://wordpress.org/plugins/meta-box/)
 * [Support Threads](https://wordpress.org/support/plugin/meta-box/)
 * [Active Topics](https://wordpress.org/support/plugin/meta-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/meta-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/meta-box/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Anh Tran](https://wordpress.org/support/users/rilwis/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/unixtimestamp-example/#post-5806266)
 * Status: resolved