Code: Select all
Function p_getDateYYYYMMDD()
mo$ = "1"
mo$ = FormatStr("%02s", mo$)
tag$ = "12"
tag$ = FormatStr("%02s", tag$)
Return ("2026"..mo$..tag$)
EndFunction
str$ = p_getDateYYYYMMDD()
DebugPrint(str$)Using the same code in Void Linux on my X1000 it gives me: 2026 112. Seems like Linux interpretes "0" as "space"