How can I change the date from YY-MM-DD to MM-DD-YY. I know the sdk has some info concerning this but nothing showing the command (that I see).
Thanks
Are you referring to roDateTime or something else?
–Mark
Assuming date in raw string form:
BrightScript Debugger> dateStr = "2014-11-4"
BrightScript Debugger> arr = dateStr.tokenize("-")
BrightScript Debugger> mm_dd_yy = arr[1] + "/" + arr[2] + "/" + arr[0]
BrightScript Debugger> ? mm_dd_yy
11/4/2014
Thank you EnTerr.
Mark,
I was referring to changing the order in which a date is returned from a parse of of a file.
