Skip to main content
Solved

Date-issue

  • 26 August 2022
  • 2 replies
  • 50 views

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