Skip to manual
gluon

Expression functions

gluon.now()

Returns the current time in UTC as a timestamp.

Model author or developer

Example

CEL
gluon.now()

With the clock pinned to 2026-10-01T09:00:00Z this returns that instant.

Types

The type checker knows it as gluon.now() -> timestamp. Call it in any GOL field that takes CEL: a Function, a derived property, a constraint or a policy condition.

Limits

The time is UTC whatever the caller's timezone. A policy that uses it can give a different answer an hour later, so pin context.now in every Test case that depends on it.

Guard optional inputs with has(). In a policy, an evaluation error denies. An expression that does not parse, runs past 2,000 characters or nests too deeply is GLN-E201, and one whose result has the wrong type is GLN-E202.

See Function, Test and the language guide.

gluon.now() evaluated by Gluon's CEL runtime.
gluon.now() evaluated by Gluon's CEL runtime.