btpoole
11 years agoChannel Surfer
Change Date Order
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
Thanks
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