Command Reference : Function Reference : Function Reference: E
  
 
@enddate
Last possible date of observation.
Syntax: @enddate
Return: series
Returns the date number associated with the end date of each observation in the workfile.
The end date number associated with an observation is the last (largest) date number corresponding to the observation date interval.
Examples
series dt = @enddate
saves the enddate numbers into the series DT. The default display format for these numbers will match the workfile frequency, but you may work with and display the series values as numbers.
alpha dts_1 = @datestr(@enddate,"yyyy:q")
alpha dts_2 = @strdate("yyyy:q")
Create two string series with the end observation dates formatted in “yyyy:q” format.
Cross-references
See “Date Numbers” and “Date Formats”.
See also @date, @datestr and @strdate.