Hi
I have date value like this 07/08/2024.I want to get values before second "/" i.e 0708 in Crystal report formula.
. If date is 7/08/24 then 0708
Thanks
Hi
I have date value like this 07/08/2024.I want to get values before second "/" i.e 0708 in Crystal report formula.
. If date is 7/08/24 then 0708
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.
Naveen KumarPosted Dec 17, 2024, 5:04 AM
Check the below formula. Replace {YourDateField} with the actual name of your date field in the report.
Muhammad Imran AnsariPosted Dec 16, 2024, 8:42 PM
// Assuming your date field is named {YourDateField}, convert it to a string if needed
// Replace "/" with an empty string and then take the first 4 characters
Jignesh KumarPosted Dec 16, 2024, 5:33 PM
use this formula on your date field,