January 8, 201610 yr Newbies Hello, I've imported a .csv file that has the date formatted as yyyy-mm-dd, it imported into FMP as a text field. Is there a way to convert that field to a date with the mm-dd-yyyy date format? I've searched the forums and couldn't find anything specifically talking about it. Thanks, Jim
January 8, 201610 yr create a calculation field remember to back up first. Let([adj =Substitute ( YourImportedTextField ; "/" ; ¶ ) ;month = GetValue ( adj ; 2 ) ;day = GetValue ( adj ; 3 ) ;year = GetValue ( adj ; 1 )];Date ( month ; day ; year ))
January 8, 201610 yr Or, actually, since the OP indicated that the incoming data is separated by dashes rather than slashes, change Robert Taylor's calculation to adj = Substitute(YourImportedTextField; "-"; ¶);
Create an account or sign in to comment