[DOCS-7497] Comment on:Date time Created: 24/Mar/16  Updated: 03/Nov/17  Resolved: 18/May/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10 , cmd

Location: https://docs.mongodb.org/manual/core/document/
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36
Referrer: https://docs.mongodb.org/manual/reference/bson-types/
Screen Resolution: 1920 x 1080
repo: docs
source: core/document


Participants:
Days since reply: 7 years, 39 weeks ago

 Description   

when i enter date, it showed less 1 day

db.unicorns.update(

{name:'Ken'}

,
{
$set:

{dob: new Date('April 24, 1978') }

})



 Comments   
Comment by Kay Kim (Inactive) [ 18/May/16 ]

As part of another ticket. Date specified is in local time, we convert to UTC.

Generated at Thu Feb 08 07:54:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.