I have some problems to update or insert a MongoDB-Date using 
MongoCollectionupdate or MongoCollectioninsert.

<cfset MongoCollectionupdate(datasource="test", collection="users", 
query=({_id:"#MongoObjectid(form.update)#"}), data=({
username:"#trim(form.username)#",
password:"#enc_pw#",
changedate: new Date(#iChangeDate#)
}))>

When I run MongoCollectionupdate with changedate as a string, there is no 
problem. But I need the Date-Type. Any ideas?

Btw: Thanks for OpenBD!!!

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to