diff --git a/reference/mongodb/bson/utcdatetime/construct.xml b/reference/mongodb/bson/utcdatetime/construct.xml index c3e2dbb200ce..1914bc26a849 100644 --- a/reference/mongodb/bson/utcdatetime/construct.xml +++ b/reference/mongodb/bson/utcdatetime/construct.xml @@ -11,7 +11,7 @@ &reftitle.description; final public MongoDB\BSON\UTCDateTime::__construct - intfloatstringDateTimeInterfacenullmilliseconds&null; + intfloatstringMongoDB\BSON\Int64DateTimeInterfacenullmilliseconds&null; @@ -25,7 +25,7 @@ Number of milliseconds since the Unix epoch (Jan 1, 1970). Negative values represent dates before 1970. This value may be provided as a 64-bit int. For compatibility on 32-bit systems, this parameter - may also be provided as a float or string. + may also be provided as a MongoDB\BSON\Int64. If the argument is a DateTimeInterface, the number @@ -58,6 +58,17 @@ + + PECL mongodb 1.20.0 + + + The milliseconds argument now accepts a + MongoDB\BSON\Int64 object (for compatibility on + 32-bit platforms). Specifying a string or + float is deprecated. + + + PECL mongodb 1.2.0