Title: Date Field
Last modified: August 20, 2016

---

# Date Field

 *  [jklina](https://wordpress.org/support/users/jklina/)
 * (@jklina)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/date-field/)
 * Another question – is the date field just a string in the database or is it an
   actual datetime object. I’m trying to figure out if I can use PHP’s built in 
   formatting to format my date and if I can sort by date.
 * Thanks!

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

 *  [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/date-field/#post-3127415)
 * Currently it’s just a string, if I don’t remember completely wrong. Best would
   have been if it was a timestamp of course.
 * In the simple fields version I released yesterday you can use [“Extended Return Values”](http://simple-fields.com/documentation/api/extended-return-values/)
   to return the date as both string and timestamp.
 *  Thread Starter [jklina](https://wordpress.org/support/users/jklina/)
 * (@jklina)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/date-field/#post-3127444)
 * Awesome, again, thank you very much. Greatly appreciated.

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

The topic ‘Date Field’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [jklina](https://wordpress.org/support/users/jklina/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/date-field/#post-3127444)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
