Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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?