Expand my Community achievements bar.

SOLVED

format DateField

Avatar

Level 5

Hi All.

In my form I have Date3 and Text1. The Date3 has patterns display like MM/DD/YYYY and exit event code

Text1 = Num2Date(Date2Num(this.formattedValue, "MM/DD/YYYY"), "YYYY")+1

When I selected date in Date3 display 03/15/2018 and Text1 will display 2019. How to display in both field after selection date only YEAR?

Thanks.

[Question moved to the LiveCycle Designer forum]

1 Accepted Solution

Avatar

Correct answer by
Level 5
1 Reply

Avatar

Correct answer by
Level 5