macOS - folder date modified date

Does anyone have AppleScript snippet code to get a the folder date modified of a folder?

thanks

This will get the last modified for a selected file or folder:

tell application "Finder" to modification date of (selection as alias)

works thanks for the reply.