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.
Any helpful souls out there?
Hey, take a look at my loom. I have done what you are asking.
Let me know if you have any questions.
Thank you so much Benjamin, that worked!!
I wonder if it could be simplified a bit by eliminating the custom state and referencing the Current date/time directly in the Conditional.
You could do that.
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
@boston85719 Haha thank you, I have always wanted to use the note function, but for something I am not using, I wouldn’t have taken notes anyway.
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.)
Premium Bubble Plug-Ins
@sudsy Not to worry, it was funny. In fact, its is said to me very often. Haha. I’ll take a look at the link shortly. Thank you!
Hi again Benjamin,
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?
can you send a screenshot of the conditions tab you are talking about? Thank you.
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.
Take a look at this loom to see the solution: https://www.loom.com/share/227d2f2c91604b14b10b1c1f85ceacb7
I’ll have a go at it now. What you explain makes perfectly sense. I’ll let you know if it’s work.
Again, thank you so much!!
This topic was automatically closed after 70 days. New replies are no longer allowed.