Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8324 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

The [FMP-CurrentDate:short] tag produces a date in the MM/DD/YY format. FileMakerPro's short date format is MM/DD/YYYY. So an search generated via a CDML tag will fail.

Anyone know a way around this?

Thanks, PK

Posted

I hope that through your own experimentation you have resolved this issue by now. If not, you may want to look back (around Feb this year) in this forum for a topic entitled "currentdate - Research is good for the soul ", whcih I began. Also look at the thread by Turansky to which it refers. You may find some useful information there.

Posted

According to the CDML reference, the dates are returned according to the short and long date formats defined by the operating system.

Try changing the country preferences for your computer and see if it makes a difference.

  • Newbies
Posted

Apologies for not looking carefully through past posts before askig the question. Thanks Keith for pointing this out.

Just in case anyone is looking a solution and comes across this posting, here's what I did:

Created a calculation field called "Today"

Today=Status(CurrentDate)

The calculation result is Date. And, it is an unstored calculation result.

This produces the current date in the same format that FileMakerPro uses, so the CDML compares this field to the date entered by FilemakerPro when the record was created.

Thanks

This topic is 8324 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.