Web Reporting - DateTime.DaysInMonth() function

Stimulsoft Reports.WEB discussion
Post Reply
anishravindran
Posts: 22
Joined: Fri Mar 23, 2018 5:53 am

Web Reporting - DateTime.DaysInMonth() function

Post by anishravindran »

Team,

Please can you let me know why the DateTime.DaysInMonth() function is not working properly when the report template is rendering in browser; but gets executed properly in desktop. But no error is shown in web interface.

To test this I just put a test value like this below to get days in July 2017:-

DateTime.DaysInMonth(2017,7)

Version using - Stimulsoft 2018.2.3 (Licensed version)

Please refer the screenshot in both environments. Please can you advice.

Thanks
Attachments
Stimulsoft_Days.png
Stimulsoft_Days.png (100.57 KiB) Viewed 1315 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Web Reporting - DateTime.DaysInMonth() function

Post by HighAley »

Hello, Anish.

It seems that you are using .Net Core.
There is no compilation there and .Net methods does not work.

Thank you.
anishravindran
Posts: 22
Joined: Fri Mar 23, 2018 5:53 am

Re: Web Reporting - DateTime.DaysInMonth() function

Post by anishravindran »

Thank you for the clarification.
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Web Reporting - DateTime.DaysInMonth() function

Post by Andrew »

Hello,

You are welcome!
Post Reply