Closed neubreed closed 2 years ago
Hi,
After creating an invoice $invoice->getDate() and $invoice->getDueDate() return a value like this:
/Date(1588032000000+0000)/
When I was expecting a DateTime string like 2021-09-09
How do I handle or change this behaviour?
Try using the AsDate methods $invoice->getDateAsDate()
Hi,
After creating an invoice $invoice->getDate() and $invoice->getDueDate() return a value like this:
/Date(1588032000000+0000)/
When I was expecting a DateTime string like 2021-09-09
How do I handle or change this behaviour?