Thanks for the link, but when i use that approach $utcdatetime = new MongoDB\BSON\UTCDateTime($orig_date*1000);
it change my date and also store it as date
type in format 2021-01-25T07:25:59.765+00:00
For example, if my date is today’s date, then multiplying it with 1000 cause date change…
Also, type is Date
but what if i want to store it as type Timestamp
?
Thanks a lot