Title: date format
Last modified: August 22, 2016

---

# date format

 *  Resolved [betzy](https://wordpress.org/support/users/betzy/)
 * (@betzy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-60/)
 * hi there,
    is there a way to set how the date is displayed? now the date is like
   this: March 24, 2015 i want: 24.03.2015
 * can i do that?
 * [https://wordpress.org/plugins/types/](https://wordpress.org/plugins/types/)

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

 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-60/#post-5934530)
 * Dear betzy
 * Use Types button, select date field and choose date from form.
 * See screenshot:
 * [http://postimg.org/image/e9x89zx3r/](http://postimg.org/image/e9x89zx3r/)
 * Cheers,
    Marcin
 *  Thread Starter [betzy](https://wordpress.org/support/users/betzy/)
 * (@betzy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-60/#post-5934534)
 * i have a template where i want to display the custom field
    and this is how i
   do it: `<?php echo types_render_field("data-referat", array());?>--></span>`
 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-60/#post-5934536)
 * Dear betzy
 * Use this code:
 *     ```
       types_render_field('data-referat', array('format' => 'd.m.Y'));
       ```
   
 * More about attributes you can find on this page:
 * [http://wp-types.com/documentation/functions/#date](http://wp-types.com/documentation/functions/#date)
 * Cheers,
    Marcin
 *  Thread Starter [betzy](https://wordpress.org/support/users/betzy/)
 * (@betzy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-60/#post-5934557)
 * worked like a charm
 * 10q Marcin
 *  Thread Starter [betzy](https://wordpress.org/support/users/betzy/)
 * (@betzy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-60/#post-5934559)
 * one more question. how to i display date and time?
    25.03.2015 12.45 or something
   like that
 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-60/#post-5934567)
 * Dear betzy
 * At first change field to date with hours, then you can use any formatting letters
   from php date format:
 * [http://php.net/manual/en/function.date.php](http://php.net/manual/en/function.date.php)
 * To take “30.03.2015 22:09” use:
 *     ```
       types_render_field('data-referat', array('format' => 'd.m.Y G:i'));
       ```
   
 * Cheers,
    Marcin

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

The topic ‘date format’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-60/#post-5934567)
 * Status: resolved