Calculating Dates
Posted: Wed Dec 20, 2017 7:20 pm
I need to add and subtract dates
I created an expression and tried to use a VB expression. I need to add one day to the Expired Date to create a new start date.
NewStart =ExpiredDate.AddDays(1)
I then need to add 365 days to the Expired Date to get a New End date
NewEnd = ExpiredDate.AddDays(365)
The users manual says I can use VB expressions in a VB report. However, all I find are errors and the AddDays function is not part of Date,etc.
I have added Microsoft.VisualBasic.dll to the registered assemblies. Still no success.
How do I add and subtract dates in Stimulsoft Reports?
I created an expression and tried to use a VB expression. I need to add one day to the Expired Date to create a new start date.
NewStart =ExpiredDate.AddDays(1)
I then need to add 365 days to the Expired Date to get a New End date
NewEnd = ExpiredDate.AddDays(365)
The users manual says I can use VB expressions in a VB report. However, all I find are errors and the AddDays function is not part of Date,etc.
I have added Microsoft.VisualBasic.dll to the registered assemblies. Still no success.
How do I add and subtract dates in Stimulsoft Reports?