Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Is it possible to get server time in FunC?

In general-purpose languages like Java it is possible to get server time by using things like System.currentTimeMills(). Is there a way to retrieve server time in FunC?

This question was imported from Telegram Chat: https://t.me/tondev/44523

Votes Newest


If you mean the current transaction time when transaction is being processed and accepted in a block, then you can use now() in FunC.

Posted one year ago