Skip to content

birth_year

Syntax

birth_year()

Returns

Returns the year of the calling agent's birth.

Description

This action returns the year of the calling agent's birth.

Examples

The birth year of a given agent can be stored in a user-defined numeric variable my_birth_year like so:

my_birth_year = birth_year()

See Also