How can I display the date a file was uploaded? If I was querying attachments I could simply mysql2date('M d, Y', $attachment->post_date)
but that won’t work on an ACF file. I can get the id of the attachment by $attachment = get_sub_field('document');
and then $attachment_id = $attachment['id'];
but I can’t figure out how to display the date.
That did it. Thanks John.
$pfx_date = get_the_date( $format, $attachment['id'] );