Date Function Summary
Element Functions
@dateadd Date number after applying offset.
@datediff Difference between two date numbers.
@dateceil Last possible date in a time period.
@datefloor Earliest possible date in a time period.
@datenext First possible date in the next time period.
@datestr String representation of a date number.
@dateval Date number associated with a string representation of a date.
@localt Convert UTC (Coordinated Universal Time) to local time.
@makedate Convert numeric representation of a date to date number.
@now Current time date number.
@strnow String representation of the current date and time.
@time Current time as a string.
@tz Convert time in source time zone to destination time.
@tzlist Available time zone specifications.
@utc Convert local time to UTC (Coordinated Universal Time).
Utility Functions
@dtoo Observation number in the workfile associated with a date string.
@otod Workfile observation to date string.
@otods Sample observation to date string.
Workfile Series Functions
@after Indicators for whether observation postdates a date.
@before Indicator for whether observation precedes a date.
@date Date number of observation.
@daycount Number of days of week in observation.
@during Indicator of whether an observation is between two dates.
@event Event identifier for observation.
@enddate Last possible date of observation.
@holiday Holiday identifier for observation.
@holidayset Multiple holiday identifiers for observation.
@hour Hour of the day of the observation (integer).
@hourf Hour of the date of the observation (floating point)
@isperiod Is this the first observation matching the specified period.
@minute Minute of the hour of the observation.
@month Month of the year of the observation.
@quarter Quarter of the year of the observation.
@seas Seasonal dummy variable.
@second Seconds of the minute of the observation.
@weekday Day of the week of the observation.
@year Year of the observation.