Dynamic css / class toggle

hi,
is there way to do a class toggle expression based on date, like this:

StorageTo<=now()
i have a date in the storageto variable, and want the class to change if that date is same or less than Now() but cannot find the test for Now() in the expression builder.

thanks in advance

There’s no now() expression available in App Connect. You need to add the component called Date And Time in App Connect, which returns the current date and time. Set its interval (refresh interval) to Hours and you can then use its value to compare the StorageTo value:

Screenshot 2024-04-19 at 14.25.31

1 Like

thanks will try that now