I need a script that can tell me if the date is in the future or in the past.
My date varibles are as follows.
$day = day (eg. 11)
$month = month (eg. 4)
$year = year (eg. 2008)
If so then the varible
$status Would then equal past
Or
$day = day (eg. 1)
$month = month (eg. 10)
$year = year (eg. 20190)
$status Would then equal future
Thanks, I have already had a go and failed
Daniel
My date varibles are as follows.
$day = day (eg. 11)
$month = month (eg. 4)
$year = year (eg. 2008)
If so then the varible
$status Would then equal past
Or
$day = day (eg. 1)
$month = month (eg. 10)
$year = year (eg. 20190)
$status Would then equal future
Thanks, I have already had a go and failed
Daniel
