Page 1 of 1

Questions on date format

Posted: Fri Jun 15, 2012 12:25 pm
by Super Bread
Hello,

1. In the report designer, can it set the date in this format (1st August, 2012) ?

2. What is the meaning of date format *f and *F?

Thank you.

Questions on date format

Posted: Mon Jun 18, 2012 5:19 am
by Vladimir
Hello,

1. You can set the "dd MMMM, yyyy" custom format, or use the following expression: {DataSource1.DateColumn.ToString("dd MMMM, yyyy")}

2. Means a full date and time format, but unfortunately does not work correctly. We will fix this bug.

Thank you.

Questions on date format

Posted: Mon Jun 18, 2012 12:05 pm
by Super Bread
Hi,

Thanks for your reply.

1. It only shows (01 August, 2012) after your setting, but I would like to show (1st August, 2012).

2. Please let me know if you have the bug fix.

Thanks.

Questions on date format

Posted: Wed Jun 20, 2012 8:46 am
by Ivan
Hello,

We made some improvements in that direction and add a new function ToOrdinal(int).
Now you can use the following expression, for example:

Code: Select all

{ToOrdinal(Today.Day) + " " + Today.ToString("MMMM, yyyy")}
This expression produce the following string:

Code: Select all

20th June, 2012
The patch will be available in the next prerelease build.

Thank you.

Questions on date format

Posted: Mon Jun 25, 2012 3:15 am
by Super Bread
Hello,

Is this prerelease version (Stimulsoft Reports.Fx for PHP 2012.06.22 Trial) included this new function ToOrdinal(int) ?

I tried but it doesn't work.

Thanks.

Questions on date format

Posted: Tue Jun 26, 2012 2:15 am
by HighAley
Hello.
Super wrote:Is this prerelease version (Stimulsoft Reports.Fx for PHP 2012.06.22 Trial) included this new function ToOrdinal(int) ?

I tried but it doesn't work.
We've checked our last Trial again. All works right.
Please, try to clear browser cache. If it will not help you, describe problems that you got more detailed.

Thank you.

Questions on date format

Posted: Tue Jun 26, 2012 3:18 am
by Super Bread
Sorry, I forgot to change back the field format from Custom to General. It's worked now. Thank you so much.

Questions on date format

Posted: Tue Jun 26, 2012 7:59 am
by Alex K.
Hello,

Ok.
Let us know if you need any additional help.

Thank you.