Command Reference : String and Date Function Reference
  
 
@otods
Syntax: @otods(n)
Argument: integer, n
Return: string
Observation-TO-Date in Sample. Returns a string containing the date or observation corresponding to observation number n, counted from the beginning of the current workfile sample. Thus
@otods(2)
will return the date associated with the second observation in the current sample. Note that if n is negative, or is greater than the number of observations in the current sample, an empty string will be returned.
See also @otod and @dtoo.