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.
Regards,
S.balraj
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/b29409e3-61e9-4f25-9a01-4d2a3b10a71e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/774c73ec-d5f2-4a2c-8b22-4fdae754bd17%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/b4632f20-86eb-4a76-ba65-0de038fbbeaf%40googlegroups.com.