OpenBullet2
OpenBullet2 copied to clipboard
Perform Function Once at all list
My config is Parsing a unix time list and and it's quantity is not fixed sometime it maybe 1 or sometime it maybe 4. I want to use full list in function block and convert unix time of all into date at once. Any way?
senang je
BLOCK:ConstantList value = ["1666319495", "1666319496", "1666319497", "1666319498"] => VAR @times ENDBLOCK FOREACH time IN times BLOCK:UnixTimeToDate unixTime = @time => VAR @unixTimeToDateOutput ENDBLOCK END
Please read the docs https://discourse.openbullet.dev/t/iterating-on-lists/51