Michael Schmidt
08/09/2022, 1:12 PMScott Steinbeck
08/09/2022, 3:54 PMScott Steinbeck
08/09/2022, 3:54 PMDave Merrill
08/09/2022, 3:55 PMScott Steinbeck
08/09/2022, 3:58 PMwriteoutput(dateformat('07/16/2022','DD'));
yields 197
Adam Cameron
WkStrt_Dow
is a string that was created via a badly-formed dateFormat
call, and the code posted is demonstrating a symptom, not the actual problem.
This is why @michael.schmidt’s advice is critical when asking questions. Don't past some part of your app that tells us nothing.
Post a self-contained, runnable piece of code that shows the problem happening.
http://sscce.org/ / http://www.catb.org/~esr/faqs/smart-questions.htmlAdam Cameron