Skip to content

Commit 233e983

Browse files
Fix date range value notation
This now uses 24h (instead of 12h) and specifies the timezone.
1 parent cec475c commit 233e983

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/AdWords/v201809/AccountManagement/GetAccountChanges.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public static function runExample(
7474

7575
// Set the date time range, from 24 hours ago until now.
7676
$dateTimeRange = new DateTimeRange();
77-
$dateTimeRange->setMin(date('Ymd his', strtotime('-1 day')));
78-
$dateTimeRange->setMax(date('Ymd his'));
77+
$dateTimeRange->setMin(date('Ymd His T', strtotime('-1 day')));
78+
$dateTimeRange->setMax(date('Ymd His T'));
7979

8080
// Create selector.
8181
$selector = new CustomerSyncSelector();

0 commit comments

Comments
 (0)