How do I format a date in RTF?
I'm getting: 12/31/2022 12:00 AM
I just want it to be: 12/31/2022
Format Date in Rich Text Field
-
Lech Kulikowski
- Posts: 7452
- Joined: Tue Mar 20, 2018 5:34 am
Re: Format Date in Rich Text Field
Hello,
You can use any custom format as you need:
https://www.stimulsoft.com/manuals/en/u ... atting.htm
Thank you.
You can use any custom format as you need:
https://www.stimulsoft.com/manuals/en/u ... atting.htm
Thank you.
Re: Format Date in Rich Text Field
But ho do I access that from within Rich Text?
-
Lech Kulikowski
- Posts: 7452
- Joined: Tue Mar 20, 2018 5:34 am
Re: Format Date in Rich Text Field
Hello,
For example, as follows:
text1 {column.ToString("MM/dd/yyyy")} text2
Thank you.
For example, as follows:
text1 {column.ToString("MM/dd/yyyy")} text2
Thank you.