Hi:
I am having the same problem as the one in thread250-791975. There was no answer posted then and I wonder if someone could give me a quick help.
I am extracting a date from an XML node in the form of: 2004,7,29. When I tried to convert it to date using the format below I get an "Invalid date" error:
x=new Date(myxmlnode)
But if I use a literal format like this, I have no error:
y=new Date(2004,7,29) // yields the date
Also, when I trace myxmlnode, it yields the right output: 2004,7,29
I need to use that to determine the number of weeks between that date and the current date. Please help!
I am having the same problem as the one in thread250-791975. There was no answer posted then and I wonder if someone could give me a quick help.
I am extracting a date from an XML node in the form of: 2004,7,29. When I tried to convert it to date using the format below I get an "Invalid date" error:
x=new Date(myxmlnode)
But if I use a literal format like this, I have no error:
y=new Date(2004,7,29) // yields the date
Also, when I trace myxmlnode, it yields the right output: 2004,7,29
I need to use that to determine the number of weeks between that date and the current date. Please help!