February 28, 201411 yr 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?
February 28, 201411 yr Hour ( Get ( CurrentTime ) ) < 12 (assuming that in fact you mean “less than 12:00pm”, as Americans say)
February 28, 201411 yr Author 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!
February 28, 201411 yr 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!" ) ]
Create an account or sign in to comment