-
Notifications
You must be signed in to change notification settings - Fork 0
Lua API Time and Date
Leonard Ramminger edited this page Aug 10, 2026
·
1 revision
| Function | Returns / effect |
|---|---|
now() |
wall-clock seconds (string) |
uptime() |
system uptime seconds (string) |
iso() |
UTC ISO-8601 timestamp |
sleep(ms) |
blocks |
sleep_s(seconds) |
blocks |
| Function | Returns |
|---|---|
info([epoch]) |
{ year, month, day, hour, min, sec, wday, yday, is_dst } |
format(pattern, [epoch]) |
formatted local time (strftime) |
epoch() |
Unix timestamp (number) |
utc([epoch [, offset_minutes]]) |
ISO-8601 UTC string |
utc_offset() |
local offset from UTC in minutes |
print("Today:", beez.date.format("%Y-%m-%d"))
print("UTC: ", beez.date.utc())Quick Reference · Glossary · FAQ
- Fundamentals
- Core Concepts
- Project Layout
- First Pipeline
- Phases and Scopes
- How Phases and Scopes Work
- Selecting with Phases and Scopes
- Designing Phases and Scopes
- Parallel Execution and Dependencies
- Configuration
- Configuration Overview
- Global User Config
- Project Config
- Environment Variables
- Performance Settings
- Cache Settings
- Config Reference
- CLI
- CLI Overview
- Running Targets
- Filtering by Phase
- Running a Single Step
- Listing Entities
- Output and Logging Flags
- Cache and Maintenance Flags
- Meta and Utility Commands
-
Project Scaffolding —
beez --init(embedded Tempify) - CLI Flag Reference
- Lua DSL
- DSL Overview
- Plugin System — Plugins, Config DSL, Standard-Workflows
- Step Declaration
- Task Declaration
- Workflow Declaration
- Order Declaration
- Configure Step
- ReqPack Declaration
- Beez API
- Step Context
- DSL Patterns
- Caching
- Caching Overview
- Step Cache
- Success Cache
- Glob Metadata Cache
- Artifact Patterns
- Cache Keys and Invalidation
- Cache Storage and Maintenance
- Caching Troubleshooting
- UI and Output
- Output Modes
- Progress and Animation
- Colors and Themes
- Run Summaries
- Logging and Log Files
- Development and Contribution
- Building and Setup
- Repository Layout
- Testing
- Code Quality
- Feature Development Workflow
- Submitting Changes