Check source file date

Is it possible to check creation date of a source file and fire a warrning when the source file is older than specified time?
I need to make a backup of another backup (made by a script executed before duplicati task ) and I need to make sure that the backup made by script is up to date.

Can’t you do this using the backup script itself?
Within the script, check the creation timestamp of the just created backup file and exit with an error level > 0.

Thank you. Its a perfect solution.