Skip to main content
Nintex Community Menu Bar
Solved

RegEx - Date & Time to Date portion

  • December 18, 2017
  • 1 reply
  • 48 views

Forum|alt.badge.img+7

Hi,

 

I am using the following thread to convert a date to 'date' only

 

https://community.nintex.com/thread/8572

 

RegEx I am using is: ([0-9]{4})-([0-9]{2})-([0-9]{2})

 

However, the results are only showing the 'time portion only'. Kindly let me know what I am doing wrong. I just need the date to be stored back in to 'TextDate' not the time portion (20171102) from the string '2017-11-02T04:00:00Z'

 

Thank you!

 

 

Best answer by lakshminarayana

You are using 'Replace' instead of 'Extract' operation. Try to use 'Extract' in a Regular Expression.

1 reply

Forum|alt.badge.img+9

You are using 'Replace' instead of 'Extract' operation. Try to use 'Extract' in a Regular Expression.