Split Date (1 Viewer)

zezo2021

Member
Local time
Today, 04:40
Joined
Mar 25, 2021
Messages
390
Hello friends
I want to split this date string in to vale start date and end date

From 1/1/2021 To 1/31/2021

Start Date
1/1/2021
end Date
1/31/2021
 

June7

AWF VIP
Local time
Yesterday, 18:40
Joined
Mar 9, 2014
Messages
5,501
String manipulation functions. x represents your field or string.

StartDate = Mid(Left(x, InStr(x, "To")-2), 5)

EndDate = Mid(x, InStr(x, "To") + 3)
 

CJ_London

Super Moderator
Staff member
Local time
Today, 03:40
Joined
Feb 19, 2013
Messages
16,706
Same as the virtually identical question you asked here
 

Users who are viewing this thread

Top Bottom