The function get ( CurrentDate ) can be used to insert a text form of the date into a text field or a variable, but the slashes (/) between month day and year will cause problems in how the operating system interprets your file name as this is a special character used to separate folder names in a file path.
You might want to use this expression: Let ( today = Get ( currentDate ) ; Month (today) & " -" & Day ( today ) & "-" & year ( today ) )
to insert a date label that's free of such characters
Another way to handle it is: Substitute ( Get ( CurrentDate ) ; "/" ; "-" ) ... gleaned from Mr. Vodka. :smileyhappy:
Thanks for the help! Your suggestions worked flawlessly. I am new to FMP and have a detailed background in software programming. I find it a bit difficult at times to translate my software programming ideas into workable FMP scripting solutions.
Great way around this issue!!
FMPA 8, 9, 10, server