andybeeeeee
Programmer
I'm writing some code and i have the following line:
When i try to build it, there is an error that this isnt in the right format: Cannot implicitly convert type 'int' to 'System.DateTime'
what's the right syntax for me to enter this in so that it recognises it as a date, rather than an integer?
Code:
oppty.CloseDate = 23/09/2004;
When i try to build it, there is an error that this isnt in the right format: Cannot implicitly convert type 'int' to 'System.DateTime'
what's the right syntax for me to enter this in so that it recognises it as a date, rather than an integer?