Hi fmaxwell
You might find the following program useful it uses DT_SecToDate to display the current date & places a forward-slash between the different parts.
[code=thinbasic]
' thinBASIC GUI file
uses "DT"
dim s as string
s = dt_sectodate(dt_datetosec(""))
msgbox 0, dt_dateformat(s, "yyyy/MM/dd")
[/code]
Bookmarks