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.
2 parents 06b12c4 + 5567c1c commit 47fd1aaCopy full SHA for 47fd1aa
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