DateToStr(Place) as String

DateToStr returns the date of the parameter you entered. For example "CurrentBar"

 

This function has one parameter:
Place   The place of which you want to have the date.

 

Example:

' This script will show the stocks
' that they are at their lowest closing value
' for 10 last days.
Sub Main()
  Header 1, "Date"
  Header 2, "Lowest"

  vLow = LLV("Close", Last - 10, Last)

  If vLow = Close(Last) then
    TakeThisStock
    PutInGrid 1, DateToStr(Last)
    PutInGrid 2, vLow
  End If
End Sub