I want to find out the no. of days left for a trader to find out
days remaining to submit the quotation. I am doing it as follows:
No of days remaining: <%= Date.today-advertised_on%> where
is the date when the ad for quotation was published with
datetime as the type.
I m getting an error as Cant’s convert Float to Date. Why is it so??
thre ne other way??
Thnx man!!! Tht was helpful.
Thnx and regards,