Below is my collection format in mongodb
db.order.insert({
"Name" : "kazara",
"Code" : "123A1",
"Ph" : "9090111111",
"Time" : Timestamp(1421555870, 0),
"orderNo" : "00000007",
"OrderAmt" : 122,
"ItemInorder" : 1,
"NetorderAmt" : 122,
"TaxAmt" : 0,
"CollectionAmt" : 122,
"Orderno" : "0010000b00330000",
"CreatedDate" : Timestamp(1421556121, 1)})
I've one field called Time in my order collection.
I want to extrsact date in the format "dd/mm/yyyy" from the Time filed. Plese help to extract this format. The above script take from robomongo tool..
I've to extract this date format in mongo shell
--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev...@googlegroups.com.
To post to this group, send email to mongo...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-dev.
For more options, visit https://groups.google.com/d/optout.