Hi
I have below code in Crystal Report Formula.. I want that Date should be in dd/mm/yyyy format. I want it as a string
CurrentDateTime
Thanks
Hi
I have below code in Crystal Report Formula.. I want that Date should be in dd/mm/yyyy format. I want it as a string
CurrentDateTime
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Muhammad Imran AnsariPosted Feb 5, 2025, 10:42 AM
Hello Ramco,
In Crystal Reports, you can use the
CurrentDateTimefunction to get the current date and time. To format this date indd/mm/yyyyformat and convert it to a string, you can use theToTextfunction with a custom format string.Here’s how you can write the formula: