Skip to main content
Nintex Community Menu Bar

Using Nintex workflow in SP 2016. I have a variable that stores a date. How do I parse out year from the date field. 

@guru2000 You can use Regular expression to get the 4 consecutive numbers from your date variable (Year)  Add:

Pattern:

(d{4})

Extract

Input text: Your date variable

 

 


Use inline function:

fn-FormatDate(DateVar,"yyyy")