Try storing the @otod value into a string and then use that string in the draw command. The draw command is not processing the @otod function
Code:
create m 90 10
series x=rnd
freeze(g) x.line
%date = @otod(100) 'the 100th observation
g.draw(line, bottom) %date