Hi
I have a date control in my form and a string control also.
For Ex : Lets say my date control has some date value 12/27/2010
My string control value is 15
i want to add both the field values (its like 12/27/2010 + 15 days)
Is it possible?
Hi
I have a date control in my form and a string control also.
For Ex : Lets say my date control has some date value 12/27/2010
My string control value is 15
i want to add both the field values (its like 12/27/2010 + 15 days)
Is it possible?
Hai Praveen,
You just add the str field with date
EG: DateField + str2int(strfield)
static void expTime(Args _args)
{
date tdate ;
str strday ;
date newDay ;
;
tdate = str2date(“11/01/2011”,0); // your date
newday = tdate + str2int(“15”); // 15 is your string field
info(strfmt("%1",newday));
}
it will show 26/01/2010