This is a migrated thread and some comments may be shown as answers.

Report DateTime format mask

2 Answers 614 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Scott Li
Top achievements
Rank 1
Scott Li asked on 14 Oct 2008, 09:55 PM
Hi,

In the footer part of my report page, I want to show print date and time the format of the datetime will be YYYY-MM-DD HH:mm PM, I will to regulate the format using the Format property in the property window.  I just can not figure out how to show AM or PM accordingly.  Can you give me the format mask, or could you give me a list of format mask I can use for future reference?

Thanks,

2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 15 Oct 2008, 08:58 AM
Hello Scott Li,

The AM/PM is culture dependent and will show only for cultures supporting it. More info is available in this MSDN article.

Greetings,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
enrique
Top achievements
Rank 1
answered on 01 Jun 2017, 04:17 AM
hi, use tt. like MM/dd/yyyy hh:mm  tt
Tags
General Discussions
Asked by
Scott Li
Top achievements
Rank 1
Answers by
Steve
Telerik team
enrique
Top achievements
Rank 1
Share this question
or