We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2fb945 commit c25e3e9Copy full SHA for c25e3e9
src/Examples/getReportOrder.php
@@ -17,11 +17,11 @@
17
$apiRequest->setSandboxMode();
18
19
// Подготовим диапазон дат для отчета
20
-$endDate = (new DateTime('now'))->format('Y-m-d');
+$endDate = (new DateTime('now'))->format('c');
21
22
$startDate = (new DateTime($endDate))
23
->modify('-14 day')
24
- ->format('Y-m-d');
+ ->format('c');
25
26
$data = [
27
'startDate' => $startDate,
0 commit comments