Date Formatting
Date Formatting
I tried to format the time to show AM/PM.....but not sucessful. Will custom formatting work ?
Date Formatting
Hello.
If it is don't work then try to use this expression
In order to make it work, please, add in code tab.
Thank you.
Please, try to use this format maskfkmfkm wrote:I tried to format the time to show AM/PM.....but not sucessful. Will custom formatting work ?
Code: Select all
hh:mm tt
Code: Select all
{YourDataSource.YourTextField.ToString("hh:mm:ss tt", CultureInfo.CreateSpecificCulture("en-US"))}
Code: Select all
using System.Globalization;
Thank you.
Date Formatting
hh:mm tt works...Aleksey wrote:Hello.Please, try to use this format maskfkmfkm wrote:I tried to format the time to show AM/PM.....but not sucessful. Will custom formatting work ?If it is don't work then try to use this expressionCode: Select all
hh:mm tt
In order to make it work, please, addCode: Select all
{YourDataSource.YourTextField.ToString("hh:mm:ss tt", CultureInfo.CreateSpecificCulture("en-US"))}
in code tab.Code: Select all
using System.Globalization;
Thank you.
but how come the Time formattting does not work...It will cut down your support a lot if it works...
Date Formatting
Hello.
Thank you.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?fkmfkm wrote:but how come the Time formattting does not work...It will cut down your support a lot if it works...
Thank you.
Date Formatting
I mean when i select Time format and Properties "*11:56 AM"; it does not show the AM/PM ...Aleksey wrote:Hello.Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?fkmfkm wrote:but how come the Time formattting does not work...It will cut down your support a lot if it works...
Thank you.
Date Formatting
Hello.
Please, use this code in your application.
Please, see the attached report template.
Thank you.
It will appear if you choose right localization.fkmfkm wrote:I mean when i select Time format and Properties "*11:56 AM"; it does not show the AM/PM ...
Please, use this code in your application.
Code: Select all
{YourDataSource.YourTextField.ToString("hh:mm:ss tt", CultureInfo.CreateSpecificCulture("en-US"))}
Thank you.
- Attachments
-
- 1290.Report.mrt
- (17.82 KiB) Downloaded 300 times