How does one **get** attributes for SD files?
You need to get an SdFile object for your file then use the SdFile::dirEntry method to get the directory entry for the file.

The directory entry (struct directoryEntry) has the timestamps.