Hi,
I was building a project and happened to find out that I cant calculate dates.
I was working on a hotel reservation system and trying to calculate the 'checkout date' from the 'check-in date' and 'days staying'.
checkout day = check-in date + days staying
also, it would be helpful if you can add a method to find out the difference between the two dates. its for an another project and wants to find how old the product is from the 'date of sale'. This may also need a function to reference the current date as well.
Hi, I was building a project and happened to find out that I cant calculate dates.
I was working on a hotel reservation system and trying to calculate the 'checkout date' from the 'check-in date' and 'days staying'. checkout day = check-in date + days staying
also, it would be helpful if you can add a method to find out the difference between the two dates. its for an another project and wants to find how old the product is from the 'date of sale'. This may also need a function to reference the current date as well.