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 3978 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Trying to use the Get (CurrentTime) in a calculation field to get the current time, if its less than 11:59am then display "Good Morning!" in the field, else "Good Afternoon"

 

Any suggestions?

Posted

Hour ( Get ( CurrentTime ) ) < 12 (assuming that in fact you mean “less than 12:00pm”, as Americans say)

Posted

Hour ( Get ( CurrentTime ) ) < 12 (Then would you put) ; "Good Morning!"

Else.... "Good Afternoon!" ?


from Tegernsee? My wife (British) Lived in Munich and Raegansburg for 5 years before moving to California with me!

What a beautiful country Germany!

Posted

In a calculation field:

Case ( Hour ( Get ( CurrentTime ) ) < 12 ; "Good Morning!" ; "Good Afternoon!" )

 

In a Script

Set Field ( YourTable:yourField ; Case ( Hour ( Get ( CurrentTime ) ) < 12 ; "Good Morning!" ; "Good Afternoon!" ) ]

This topic is 3978 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.