Does anyone know a way to format Lawson query builder date format mm/dd/yyyy to LawsonTXN node date format yyyymmdd? I have tried all the JS functions with no success.
Thank you!
Shaji
Yep, rmcanham is correct. Here's an example:
Input variable: inDateDME_str = "03/06/2016"
jscript: outDateAGS_str = getDateAGS(pfDate(inDateDME_str,'mm/dd/yyyy'))
Result: outDateAGS_str = 20160306
I hope this helps. Good Luck!
Kelly