genious Posted April 17, 2013 Posted April 17, 2013 I am importing a csv file with a date field. My problem is that the date field is in USA format(m/d/yy). How do I change this to a European format(DD/MM/yyyy)? I have looked for a function but to no avail. Thought of the left function but this is never consistent as US dates can have 1/1/2012 or 10/10/2012. How should I do this?
Lee Smith Posted April 17, 2013 Posted April 17, 2013 Let([ Parts=Substitute(YourDateField;"/";" "); Day=MiddleWords(Parts;2;1); Month=LeftWords(Parts;1); Year=RightWords(Parts;1)]; Day &"/"& Month &"/"& Year) 2
genious Posted April 18, 2013 Author Posted April 18, 2013 Many thanks Lee, I have yet to learn this side of the calculation engine as I haven't been active for the last few years. M
Recommended Posts
This topic is 4294 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now