You need to sign in to do that
Don't have an account?
dotnet develope
how to assign value for date of month() to integer value?
hi all,
i have written a class in eclipse 3.3x and i want to deploy into production.
for that i have tested the code ,but i that code it is giving error.
-:the code is in below:-
lead l=new lead();
l=[Select id,Start_date__c from lead where lastname=:'test1'];
date date1=l.Start_date__c;
Integer imon=date1.month(); ------------- here it is giving error
pls help me to solve the issue. and give me the suggestion for how to get month value to an integer variable.
Thanks & Regards
Mahesh Chilaka
i have to guess, unless you can share the error message produced by eclipse run tests.
hi ron,
i am in critical situation, as per client requirement i have written a class in sandbox. its working fine.
when it come to test coverage in eclipse. it was not giving more then 15% .
i want to give the whole code but blog is not supporting more the 20000 characters.
a sample of that code is in below.
in this class the test method is myTest(). the record of 'Test1' have all the field have full data.
for any more clarification. my emaild 'chilakamahesh@gmail.com'.
thanks & regards,
Mahesh Chilaka.