how to display difference of 2 dates in date and time format
hi, I have used days between function to find the difference between two dates, but the problem is, the value returned is a float value. Is there any way to display the date in [dd/mm/yy - hh :ss] Format. the final output should also be a date format, can someone help on this.
Karthik S M
When you calculate the days in between it is logical that you get a number back. This number is the amount of days that are in between the two dates.
If you want to add or substract a number of days from a date, you can use the function addDays.