Matthew R White Posted February 28, 2014 Posted February 28, 2014 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?
eos Posted February 28, 2014 Posted February 28, 2014 Hour ( Get ( CurrentTime ) ) < 12 (assuming that in fact you mean “less than 12:00pm”, as Americans say)
Matthew R White Posted February 28, 2014 Author Posted February 28, 2014 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!
eos Posted February 28, 2014 Posted February 28, 2014 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!" ) ]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now