Skip to main content
Version: Next

block_time/1

Description

block_time/1 is a predicate which unifies the given term with the current block time.

Signature

block_time(?Time) is det

where:

  • Time represents the current chain time at the time of the query.

Deprecated: Use the `block_header/1` predicate instead.