Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I wonder if it is possible to output the file upload date as a field to Views? I saw the timestamps field in the files tables in MySql but I can't find the option to output that date to Views? Is that something not available at this moment? The closest issue I found on drupal.org is:
but this is outputing as the filename.
Could you give me some guideline please? Thanks.
Jerry
Comments
Comment #1
quicksketchYou just need to make a relationship based on the FileField over to the File table first, then the uploaded time will be available.
Comment #2
jerryuen CreditAttribution: jerryuen commentedThanks Nath! I love you.
Comment #3
quicksketchComment #5
OMD CreditAttribution: OMD commentedI've done this and the upload date or timestamp is equal to the post date of the node, not the file upload. Any ideas?