Avatar

Level 2
Dear all,

I am working with LiveCycle Designer ES 8.2 (German version).

I have a form with a datetimefield (the value can be changed by the user). The date is shown like  "date{D.MM.YY}"and it must be like this. The display cannot be changed to "date{WW}" and thus "this.formattedValue" will not work out.

But I need the week number ("date{WW}") of the entered date of the datetimefield for further calculation.

Does anybody have an idea how to get the week number out of a datetimefield with Javascript?

Many hanks.

Regards,
ra_be