Title: Convert variable string into dateformat
Last modified: January 31, 2021

---

# Convert variable string into dateformat

 *  [dudengirl](https://wordpress.org/support/users/dudengirl/)
 * (@dudengirl)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/convert-variable-string-into-dateformat/)
 * Hi there,
 * I use the eventon-plugin and the visitors can register or book via contact form
   to an event.
    I get the title of the event with CF7_get_post_var key=’title’ 
   and I get the date/time with CF7_get_post_var key=’evcal_srow’. It works – I 
   get both values. In case of the title it’s ok – the real title as written but
   the Start-Date of the event I only get as string (unix timestamp). How do I convert
   this in the form or in the email, that’s sent?
 * thanks in advance,
    Maggie

The topic ‘Convert variable string into dateformat’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-dynamic-text-extension/assets/icon-256x256.
   png?rev=3019574)
 * [Contact Form 7 - Dynamic Text Extension](https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dudengirl](https://wordpress.org/support/users/dudengirl/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/convert-variable-string-into-dateformat/)
 * Status: not resolved