Runtime error problem for clock


Why this error and how can I solve it

The math comparison block won't work with the text time values you fed it.

If you express your time values in Milliseconds from 1970 behind the scenes, that allows you to use math against time values and store those values in proper time order too.

Save your fancy time formatting for when you need to show it to a human. Don't store fancy time formats in a database. The database stumbles over the formatting.

1 Like