That did it. Thanks John.
$pfx_date = get_the_date( $format, $attachment['id'] );
herrfischer how are you getting the $attachment_id? I’m assuming your download or file is download so what is the field singledl? I’m assuming “single download” but how does that work?