App Connect Data Formatter Support Product Page

Not a problem

dateDiff

Reported 02 Oct 2017 10:00:30
1
has this problem
02 Oct 2017 10:00:30 dennis bates posted:
having an issue with dateDiff function

i.e. {{(DOB.dateDiff( "days", "" )/365).floor( )}}

does not return the years since DOB

Any ideas?

Replies

Replied 03 Oct 2017 12:01:53
03 Oct 2017 12:01:53 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 "?
Replied 03 Oct 2017 12:07:00
03 Oct 2017 12:07:00 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?
Replied 03 Oct 2017 12:17:43
03 Oct 2017 12:17:43 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 03 Oct 2017 12:19:40
03 Oct 2017 12:19:40 dennis bates replied:
okay but where is it in the menu for app connect data formatter
Replied 03 Oct 2017 12:20:59
03 Oct 2017 12:20:59 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.
This reply was removed on 10/3/2017 12:32:35 PM.
See the changelog

Reply to this topic