You need to sign in to do that
Don't have an account?
bca321
Date type
Hi.
My date method is
Date submitDate;
string year = '';
string month = '';
string day = '';
string stringDate = year + '-' + month + '-' + day;
Date SubmitDate = date.valueOf(stringDate);
But still error. help me
try using date.newinstance instead
Date s = date.newinstance(Integer.valueOf(year), Integer.valueOf(month), Integer.valueOf(day));
Hi,
But my date format is
09 JAN 06
I think I can't use date.newinstance