I'm trying to create an if statement that checks if there has been less than 48 hours since the creation of an order, i.e. COrderDate ,and there is still more than 48 hours until the delivery date. i.e. CDeliveryDate
if (order.COrderDate < 48 hours since DateTime.Now && DateTime.Now < 48 hours from order.CDeliveryDate)
Aucun commentaire:
Enregistrer un commentaire