I’m implementing a custom editor which shows a list of prefabs in the project. I would like to retrieve the time and date of the prefab’s creation to sort the list by newest or oldest.
get path of the prefab file
get creation date of the file
The .meta file has as timeCreated field. You can extract it. It’s in a UNIX timestamp format.