@datetime not working

Dear,

In below algorithm, @datetime returns invalid algorithm

any idea abt this issue

Thank you

Answers