How to compare the mtime of a file with the current time?

Hi, I wondered if we could do this with shell script?

How to compare the mtime of a file with the current time and check whether its less than 24 hours.

Thanks.:b:

man find and look for the -mtime test

Hi,
This script find file less then 24 hour and delete them:

#!/bin/bash
find /export/home/urpath * -type f -mtime -24 -exec rm {}

Mehrdad