Main > Forum > 1C:Enterprise Platform > Studying 1C:Enterprise platform > Compare two Dates
There are two dates: 07/25/2010 and 12/30/2011. I need to find out what is the difference between those dates in months.
12 * (Year(Date2) - Year(Date1)) + Month(Date2) - Month(Date1)Also in query you can use DATEDIFF(Date1, Date2, MONTH)
Super, Evgeny! Thank you!
Yes, that helped, thank you!
You are welcome )