Support

Account

Home Forums General Issues Date format output Reply To: Date format output

  • Hi John,
    thanks for your answer! With your hints I figured it out. This is my solution:

    $date = get_post_meta( $entry->ID, "my-acf-field", true );
    $date = new DateTime($date);
    $finalVal =  $date->format('<\b/>j<\/b/><\b\r/>M'); 
    $output .= $finalVal;