Why do we use DAYSDIFFFROMNOW function in vFlow2.0?
2 Likes
The DAYSDIFFFROMNOW function is used to calculate how many days are between a given date and today’s date. For example,If today’s date is 27/06/2025, and you want to find out how many days have passed since 01/06/2025. This will return 26, because there are 26 days between 01/06/2025 and 27/06/2025.
Syntax- DAYSDIFFFROMNOW(date,dateFormat)
Example- DAYSDIFFFROMNOW(“2025-06-01”, “yyyy-MM-dd”)
3 Likes