my following code returns an error
tell current application
set b to "Tuesday 12 April 2016 at 18:06:10"
date b
end tell
If I would write the string, defined in b, directly before date, it is working, but my date string is defined by some variables, so b is just an example for the string, how it looks like.
But why does AppleScript returns the error, only because of the string is defined in a variable?
Best Answer
Try:
Another approach: