Skip to main content

Hi Team

 

Can someone help me how to extract only date from  date-timestamp coming from source expression ?

Details -- to extract date in MM/DD/YYYY format -- example: 05/23/2022


@Priyanka Mynepally

I dont think this is the right forum to post a question. I am sure Mods will move it to the right place.

Assuming you have the date in a string, you can use Expression Evaluator to achieve this. 
something like ${ time:extractDateFromString(record:value(‘/datetimestring’),”MM/dd/yyyy” ) }


Reply