Skip to content
Get Started

Time Effect

This page is auto-generated from src/stdlib.rs. Do not edit it by hand — your changes will be overwritten on the next CI run. To add or update a built-in operation, edit the StdLib::new() registry in src/stdlib.rs.

The Time effect provides the following built-in operations, wired into the VM and runtime.

Operation Signature Description
Time.now now() -> Int Return the current Unix timestamp (seconds since 1970-01-01 00:00:00 UTC).

Implementation site: Standalone VM