App Connect Data Formatter Support Product Page
Not a problem
dateDiff
Reported 7 years ago
1
has this problem
7 years ago dennis bates posted:
having an issue with dateDiff functioni.e. {{(DOB.dateDiff( "days", "" )/365).floor( )}}
does not return the years since DOB
Any ideas?
Replies
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
Hello Dennis,
Please explain your issue a little more detailed. What do you mean by: "does not return the years since DOB "?
Please explain your issue a little more detailed. What do you mean by: "does not return the years since DOB "?
Replied 7 years ago
7 years ago dennis bates replied:
Hi I have a table field DOB which returns the Date of Birth when trying to calculate years since the DOB to get the age I use the format {{(DOB.dateDiff( "days", "" )/365).floor( )}} which has worked in the past with data formatters however now it returns nothing.
I had had a conversation with a person there that indicated dateDiff does work with APP Connect Data formatter is this incorrect?
I had had a conversation with a person there that indicated dateDiff does work with APP Connect Data formatter is this incorrect?
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
The dateDiff filter is a part of App Connect Data Formatter. Please make sure to generate the code using its UI on the page, and not copying this from some old site.
Replied 7 years ago
7 years ago dennis bates replied:
okay but where is it in the menu for app connect data formatter

Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
What do you mean? It is in the data picker, where you insert the binding on the page ... please check the video tutorials, it is all explained there.