Title: Adding date/time stamp to custom fields
Last modified: August 19, 2016

---

# Adding date/time stamp to custom fields

 *  Resolved [skinnymuldoon](https://wordpress.org/support/users/skinnymuldoon/)
 * (@skinnymuldoon)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-datetime-stamp-to-custom-fields/)
 * Hi,
 * I would like to know how to add a date/time stamp to custom fields when they 
   are updated.
 * Any clues?
 * Jo

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

 *  [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-datetime-stamp-to-custom-fields/#post-1475038)
 * you dont need a custom field for that, just use this plugin:
 * [http://wordpress.org/extend/plugins/last-modified/](http://wordpress.org/extend/plugins/last-modified/)
 *  Thread Starter [skinnymuldoon](https://wordpress.org/support/users/skinnymuldoon/)
 * (@skinnymuldoon)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-datetime-stamp-to-custom-fields/#post-1475125)
 * Thank you, but I was after something quick and simple as it is for only one custom
   field that I need it and didn’t really want a full plugin just for that.
 * Maybe I will have to – or maybe there are some other suggestions?
 * Thank you,
    SM
 *  Thread Starter [skinnymuldoon](https://wordpress.org/support/users/skinnymuldoon/)
 * (@skinnymuldoon)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-datetime-stamp-to-custom-fields/#post-1475207)
 * Hi,
 * I really need to know how to add the date/time modified to a custom field…..is
   it even possible?
 * I have searched and googled…..!
 * SM
 *  [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-datetime-stamp-to-custom-fields/#post-1475210)
 * try this then: [http://codex.wordpress.org/Template_Tags/the_modified_time](http://codex.wordpress.org/Template_Tags/the_modified_time)
 * it’s not a custom field, but I really dont think you need one
 *  Thread Starter [skinnymuldoon](https://wordpress.org/support/users/skinnymuldoon/)
 * (@skinnymuldoon)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-datetime-stamp-to-custom-fields/#post-1475211)
 * I tried that, but when that won’t work in a custom field which need to show the
   time and date when it was updated.
    The custom field will show sea conditions
   for diving and it needs to show the time updated to make it relevant. I may have
   to find another way of doing it if this isn’t possible….. SM
 *  [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-datetime-stamp-to-custom-fields/#post-1475251)
 * still not quite clear on what you mean.
 * the modified time will get the time the post/page was last modified…
 * maybe you can try explaining your question a bit clearer
 *  Thread Starter [skinnymuldoon](https://wordpress.org/support/users/skinnymuldoon/)
 * (@skinnymuldoon)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-datetime-stamp-to-custom-fields/#post-1475272)
 * I have tried but it is not working.
 * All that is showing up is the HTML part of <p>Modified: <?php the_modified_time(‘
   F j, Y’); ?> at <?php the_modified_time(‘g:i a’); ?></p>
 * it is on a page, do you think that should make a difference?

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

The topic ‘Adding date/time stamp to custom fields’ is closed to new replies.

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [datetime](https://wordpress.org/support/topic-tag/datetime/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [skinnymuldoon](https://wordpress.org/support/users/skinnymuldoon/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/adding-datetime-stamp-to-custom-fields/#post-1475272)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
