date.diff

/ Utility / date.diff

 

Title : date.diff
Purpose : to get the differnce between two dates
Syntax :
Input Parameters : type(default:mins can be set to mins,hours,days,english),

date_from – start date

date_to – end date

Return Value : returns the differnce between two dates
Example 1 :
Code :

Output : It will return difference in days

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *