Hi, I would like to display a ‘Good morning @current users name’ at a certain time of the day, and that it automatically changes to ‘Good afternoon…’ lets say 12:00 (European time format)
I know how to connect the logged in users name to the text message, but I can’t get the conditions to work - to make that message change depending on the time of the day. I’m using the “current date/time:extract: hour <12 and current date/time:extract: hour >6” condition. Then I choose what text to display. Then I add a new condition with different time etc… But this doesn’t seem to work for me.
There was a reason I added the set state, but I don’t remember what it is anymore. (I have a brain injury and forget almost everything from anytime in the past)
Use the notes on any element, workflow, page etc. to write down things to remind you in the future what they were for and what they maybe interact with…don’t forget to sign your name at the bottom so you know it is a note from your former self
I do that all the time as well, and I don’t have a brain injury.
(That’s just a feeble attempt at humor. I don’t mean to make light of your situation. By the way, there are some very promising developments with regard to leveraging AI to aid memory.)
I want to display a ‘Good night’ text between 23:00 and 04:00, but for some reason that text isn’t displayed. All the other conditions works just as in your video, but I believe the reason for that last condition not being showed has something to do with the hour format. I’m in Norway using the 24 hour format, and the problem only occurs when the time span in the condition passes midnight. Do you (or anyone else reading this) have any idea on how to solve this?
When you extract an hour from the date and time you dont get the same loop as you would with a clock. When you say greater than 23, that only means 24. After 24 it goes back down to 00:00. and 00:00 is not greater than 23.