Support » Plugins and Hacks » Toolset Types » display Date_field meta

  • Hello,
    I want display custom “date_field” meta, created with wp-types plugin.
    I have tried the following code, but its display only “1. January 1970” (not the true date in custom ate field). How I must change this code to get a rtrue date result?

    My Code:
    echo $display_date = date('j. F Y', strtotime (get_post_meta( get_the_ID(), 'wpcf-date_field', true)));

    Can someone help me?

    Thank you very much :).

    http://wordpress.org/plugins/types/

  • The topic ‘display Date_field meta’ is closed to new replies.