Forum Documentation Showcase Pricing Learn more

Current date/time should keep up with actual time


#1

Using current date/time in an expression only grabs one value for the time. It doesn’t keep incrementing as time passes.

This is a problem if I’m doing something that needs to update, such as showing a progress bar. The whole point of a progress bar is to update status in real time.


#2

The way to achieve this is to set a workflow every x seconds, and update a custom state with the current date/time. Then use that in your display.


Display current time
#3

Is there a technical reason that it should require a workflow, on the server, to keep track of the current time?

I’m saying we need a thing like “realtime date/time” that when you drop it into an expression it’s always up to date, like a clock.


#4

How do you know it runs on the server ? It won’t use up a workflow anyway.

And it isn’t all that complex, I would imagine controlling some sort of “realtime” field would take as long to set up (because your application might not be the same as my application, and we will probably want different update rates etc).

There are other ways to do it (if you search) such as having a bit of Javascript but that also runs an iteration every x seconds.


#5

Ok i’m having trouble understanding how to do this. Do you have a visual way of explaining how to achieve this? I can’t seem to find anything to update a Custom state in workflows.


#6

58