Hi,
how can I format date / time in the report
for example
date: Friday, 07 December 2012
time: 18:30 (06:30 PM)
Best regards.
Date / Time formatting
Re: Date / Time formatting
Hello.
In your case it will be look next:
Also you could use Text Format property of the text component.
Look at the attached report template.
Thank you.
You could set format with C# syntax http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspxChipo wrote:how can I format date / time in the report
for example
date: Friday, 07 December 2012
time: 18:30 (06:30 PM)
In your case it will be look next:
Code: Select all
{Today.ToString("dddd, dd MMMM yyyy")}
{Time.ToString("HH:mm (hh:mm tt)")}
Look at the attached report template.
Thank you.
- Attachments
-
- Report.mrt
- (3.32 KiB) Downloaded 1174 times
Re: Date / Time formatting
Thank you. Awesome. This works.
Re: Date / Time formatting
Hello,
Have a great day!
Have a great day!