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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Feb 5, 2025, 5:42 AM EST
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: