You need to sign in to do that
Don't have an account?
jcressard
Date in an apex Code
Hi,
I try to use a Date in an apex code and i write it this way :
Date myDate;
But i get this error :
Error: Compilation Error : unexpected token: 'Date' at line 69 column 12
Any Idea?
Thanks
With your post, i've find my error, it's not the ";" missing, but a bad location of the Date myDate; in the code...
I had
And declaration must be in the get and not out !
Thanks !
All Answers
I guess Error might be because of missing ";" on line number 68
There's a number of reasons why you might receive this error - can you post the code surrounding it?
With your post, i've find my error, it's not the ";" missing, but a bad location of the Date myDate; in the code...
I had
And declaration must be in the get and not out !
Thanks !