Symfony calculate number of days based on date

前端 未结 2 1176
一生所求
一生所求 2021-01-28 04:04

I am trying to calculate price for number of days from 1-21 based on date.

HomeController

$Sql = \' SELECT DISTINCT 
            a.property_id, a.date,         


        
2条回答
  •  情深已故
    2021-01-28 04:14

    I have solved this question based on the theory T. Abdelmalek gave me. I made an array and stored date and price of each date in and loped through. The answer has been deleted somehow I don't know how to mark as solved

提交回复
热议问题