Jump to content
steve5504

Convert Date

Recommended Posts

steve5504

Hi

I have a csv file that I want to import into FM16.  The csv file has the date format as YYYY-DD-MM (2019-30-12).  I want FM16 to convert the format to MM/DD/YYYY (12/30/2019).  is that possible? 

 

Thanks

Edited by steve5504

Share this post


Link to post
Share on other sites
Steve Martino

I think I found this posted before from FM super genius @comment  I apologize if I am crediting the wrong person.  Can’t test on iPad.

Let ( [ 
ydm = Substitute ( text ; "-" ; ¶ ) ;
year = GetValue ( ydm ; 1 ) ;
day = GetValue ( ydm  ; 2 ) ;
month = GetValue ( ydm  ; 3 ) 
] ; 
Date ( month ; day ; year )
)

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Terms of Use