Command Reference : Function Reference : Function Reference: D
  
 
@day
Day of observation.
Syntax: @day
Return: series
Returns the day of the month (1-31) associated with each observation in the workfile.
If the workfile is of lower than daily frequency, all observations will be set to 1.
If the workfile is undated, observations will be set to -1.
Examples
series dt = @day
saves the days of the month into the series DT.
The command
smpl if @day > 29
sets the sample to only use days 30 and 31 of months.
Cross-references
See also @hour, @hourf, @minute, @month, @quarter, @seas, @second, @weekday, and @year.