Last modified: 2024-09-14
Runtime.Time Attribute
Gets the current block time stamp.
Namespace: Neo.SmartContract.Framework.Services
Assembly: Neo.SmartContract.Framework
Syntax
public static extern uint Time
Attribute: unix time stamp. Unsigned Integer.
Example
public static bool Main()
{
if (Runtime.Time >= 1587959138)
{
// do something;
}
}