MMMM,

There is a difference between the added code in ScheduleTask and $d:

ScheduleTask:
Code:

$date=split($date,'\')
$date=$date[1]+'\'+$date[2]+'\'+$date[0]



$d:
Code:

$d = Split($date,'/')[1] + '/' + Split($date,'/')[2] + '/' + Split($date,'/')[0]



I have changed all \ in / but there is still an error 87

...I give up, I have a working script with the old version of ScheduleTask and variable $d...


Edited by Co (2004-01-06 10:11 AM)
_________________________
Co