Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

format DateField

eugzl
Level 5
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
eugzl
Correct answer by
Level 5
Level 5
0 Replies
eugzl
Correct answer by
Level 5
Level 5