I think you are right about @TODAY, I’m not sure where that came from. $TIME works okay, though, so I’ll work with that.
From: Ben Pfaff <[email protected]> Sent: Thursday, June 4, 2026 7:26 PM To: [email protected] Cc: [email protected] Subject: Re: Today's Date? 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] <mailto:[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
