Date variables in report - "new Datetime"

Stimulsoft Reports.PHP discussion
Post Reply
wilfried_g
Posts: 3
Joined: Sat Feb 06, 2021 5:56 pm

Date variables in report - "new Datetime"

Post by wilfried_g »

Hi there,
we are testing your product at the moment ( version 2021.1.1) and everything went fine so far. :D
The data is coming from a mysql database.

Now we have come across a problem we don´t understand because we assume
we did everything right?
Ther report runs wonderful in designer preview but when we publish it to our application
(php) and call it, it only returns a blank page? Another report which we used to test is just
a simple listing (grouped) which runs just fine.

So it seem as there is a problem with "new DateTime"? Maybe not working outside the designer ?

I have enclosed a few hardcopies - which we hope can be helpful - to find out
if we did something wrong or what the problem is. This is a function which will be essential
to us.
If you need anything else, just let me know it.

Thanks for your time and best wishes
Wilfried
Attachments
date_from.png
date_from.png (15.34 KiB) Viewed 3869 times
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Date variables in report - "new Datetime"

Post by Lech Kulikowski »

Hello,

Please try to use the DateSerial() function from the dictionary.

Thank you.
Attachments
Screenshot 2021-02-09 144130.jpg
Screenshot 2021-02-09 144130.jpg (155.38 KiB) Viewed 3864 times
wilfried_g
Posts: 3
Joined: Sat Feb 06, 2021 5:56 pm

Re: Date variables in report - "new Datetime"

Post by wilfried_g »

Thanks Lech,
that worked like a charm! :D
Thumbs up and hats off to you and your company! :!:
If there is already such a good support while testing your software, I cannot image what it will be like with a bought version.
Great support, great product. That´s not always usual behavior with other companies. And belive me, we have tried
a few other products.

One again, thanks for your help and best wishes
Wilfried
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Date variables in report - "new Datetime"

Post by Lech Kulikowski »

Hello,

You are welcome.
We are always glad to help you!

Thank you.
Post Reply