Discussions
Converting Date to DAY
I need to add one more statement to the code below that will create a variable that holds the DAY (ie Wednesday) of the var ArrivalDate.
[SIZE=2][COLOR=#0000c0]var[/COLOR][/SIZE] ArrivalDate [SIZE=2][COLOR=#5c5c5c]=[/COLOR][/SIZE] nlapiGetLineItemValue[SIZE=2][COLOR=#5c5c5c]([/COLOR][/SIZE][SIZE=2][COLOR=#005c00]'item'[/COLOR][/SIZE][SIZE=2][COLOR=#5c5c5c],[/COLOR][/SIZE] [SIZE=2][COLOR=#005c00]'custcolarrivaldate'[/COLOR][/SIZE][SIZE=2][COLOR=#5c5c5c],[/COLOR][/SIZE] i[SIZE=2][COLOR=#5c5c5c]);[/COLOR][/SIZE]
[SIZE=2][COLOR=#5c5c5c]var ArrivalDay = HELP?[/COLOR][/SIZE]
[SIZE=2][COLOR=#5c5c5c][/COLOR][/SIZE]
[SIZE=2][COLOR=#5c5c5c]Does anyone know the code to use to set ArrivalDay to the appropriate day of the week?