function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BrandLeetBrandLeet 

Parse out date/time from Opportunity Name

My opportunity names come in the following format:

FirstName LastName - DesiredProduct - 2017-10-19 18:21:55

I'd like to parse out the date/time from this and place date and time in separate fields.  Is that possible?  If so, how?
Alain CabonAlain Cabon
TIMEVALUE("17:30:45.125")

TIMEVALUE(RIGHT(TRIM("FirstName LastName - DesiredProduct - 2017-10-19 18:21:55"),8)+".000")

DATEVALUE(LEFT(RIGHT(TRIM("FirstName LastName - DesiredProduct - 2017-10-19 18:21:55"),19),10))

DATETIMEVALUE(RIGHT(TRIM("FirstName LastName - DesiredProduct - 2017-10-19 18:21:55"),19))