CyberSport Posted October 17, 2002 Posted October 17, 2002 Hey all. What is the proper syntax to format the {currentdate} tag in an inline action request (in this case a -new)? I tried {currentdate:short} and got an error 500, invalid date format. Also tried {currentdate,short} but got an error 4, unknown command. For the second question, I am trying to display the contents from a date field, but force it to show in the format mm/dd/yy, however it insists on a 4-digit year date, even if it's formatted on the proper layout as 2-digit. Can you do something like [fmp-field: fieldname: short]? I know this doesn't work, but something similar? Both of these problems are a result of filemaker insisting on entering dates via wc as from 19xx instead of 20xx and not wanting to modify all the dates as they are entered. I remember a while back there was talk of using javascript as a workaround. Is there any WC fixes for this problem yet? Bevin Bevin
Anatoli Posted October 17, 2002 Posted October 17, 2002 Use Format instead "short". Or use calculated field. HTH
CyberSport Posted October 17, 2002 Author Posted October 17, 2002 yeah, i could do a calc field that added 1000 yrs to every date... when you say use format instead of "short", can you show me the syntax for the inline action? Thanks. Bevin
Anatoli Posted October 17, 2002 Posted October 17, 2002 I didn't tried in Inlines, but it works for CDML standard fields. I believe there is my post somewhere in Web section.
Recommended Posts
This topic is 8411 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now