添付ファイルの日付を取得する方法がわかりません。次のように添付ファイルを取得します。
$attachments = get_children(array('post_parent'=>$post->ID, 'post_type'=>'attachment', 'post_mime_type'=>'image'));
foreach ( $attachments as $attachment ) {
//I want to get the date of the attachment
}
何か案は?ご覧いただきありがとうございます。