Hi,
I have c# code like this i want to convert this code into xslt format like write function in "xslt" and return final result like dueDate? is possible
writing in xslt?
DateTime endDate= "DateTime.Now" ->Actually i got this DateTime
int Month=endDate.Month;
int day=endDate.Day;
int Year=endDate.Year;
int maxDay= DateTime.DaysInMonth(Year,Moth);
if(day == maxDay)
{
DateTime tempDate=endDate.AddMonths(1);
int tempMonth=tempDate.Month;
int tempYear=tempDate.Year;
int tempDay=tempDate.Day;
dueDate=tempDate.DaysInMonth(tempYear,tempMonth,tempDay);
}
else
{
dueDate=endDate.AddMonth(1);
}
when i call this function from xslt i want to retun this value like dueDate at finally is it possible?
Regards
venkat.