Forum Discussion
tomasmartinek
5 years agoFrequent Visitor
Adobe Connector and date range parameter
Hello, I am trying to change date to relative in adobe analytics connector from "anything" (last 60 days or from 1/1/2021) to today. {Cube.ApplyParameter, "DateRange", {#date(2021, 7, 13), #d...
- 5 years ago
- Anonymous5 years ago
tomasmartinek "
This is because you your first date return Date only, and DateTime.LocalNow() returns Date and Time. Change it to the expression below.DateTime.Date(DateTime.LocalNow())
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Anonymous
5 years agoNot applicable
tomasmartinek "
This is because you your first date return Date only, and DateTime.LocalNow() returns Date and Time. Change it to the expression below.
DateTime.Date(DateTime.LocalNow())
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.