How to get previous week data and previous months data using talend date functions
in tmap expression builder.
and similarly how to get current months data and current weeks data
the scenario is I want to show previous and current data comparision in a table.
Thanks in advance
This is also very easy in Talend with built-in functions
TalendDate.getCurrentDate() returns the current date.
TalendDate.addDate(TalendDate.getCurrentDate(),"-1","MM") returns last month.
For your current weeks data requirement, could you please send an example for us?