I don't think SPSS has anything named @TODAY. I don't see any matches for
that in the command syntax reference manual. Can you provide a reference?

For command syntax, you can use $DATE or $TIME, which are available in
COMPUTE and other commands that evaluate expressions.

On Thu, Jun 4, 2026 at 4:21 PM <[email protected]> wrote:

> How do I get today’s date into a pspp program without manually entering it?
>
>
>
> SPSS provides @TODAY, and SAS has TODAY(). A common use case is computing *age
> from a birthdate* when age itself is not collected in the dataset being
> analyzed. Another use is putting a *run date on a report*.  The usual
> DATE functions require user input, so they cannot do this from a running
> program.
>
>
>
> I’m using GNU pspp 2.1.1-g557d00 on Windows 11 and GNU pspp 2.1.1 on
> FreeBSD.
>
>
>
> Thanks for any clarification.
>
> Kent
>

Reply via email to