Get date of file in plugin directory

Your code is correct. I verified that this is a bug. Both dateCreated and dateModified are null when returned by getPluginFolder(). Thanks for reporting it! Also, I know there is an open bug that if you get the entries from getFolder(), then the dateCreated and dateModified will not be null, but will be 369 years in the future!

1 Like