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 215eda7 commit 5567c1cCopy full SHA for 5567c1c
src/LaunchDarkly/Util.php
@@ -14,7 +14,7 @@ class Util
14
*/
15
public static function dateTimeToUnixMillis($dateTime)
16
{
17
- $timeStampSeconds = (int)$dateTime->getTimeStamp();
+ $timeStampSeconds = (int)$dateTime->getTimestamp();
18
$timestampMicros = $dateTime->format('u');
19
return $timeStampSeconds * 1000 + (int)($timestampMicros / 1000);
20
}
0 commit comments