Question : Change date format in filemaker pro

I need to make a script that turns the following date format    2010-08-20    to      8/20/2010

Answer : Change date format in filemaker pro

I'm assuming that the date formatted as 2010-08-20 is a string and not a date.  But that you want to convert it to a date.

I would do something like the below.  Then stored as a date you can format it any way you want.
1:
2:
// where str is "2010-08-02" and that 08 is the month
Date ( Middle ( str; 6; 2 ) ; Middle ( str; 9; 2 )  ; Middle ( str; 1; 4) )
Random Solutions  
 
programming4us programming4us