Thanks Gianfranco, but i still have a trouble in using ISODate value in document which will updated.
How about
$date in line 11 if i throw the
saved_at value from a field in another form? here's my form:
<form action="addcomment.php" method="post">
<input name="name" value="<?php echo $blog['name']; ?>"/> <input name="saved_at" value="<?php echo $blog['saved_at']; ?>"/> <input type="submit" name="submit" value="Post"/></form>its reads
0.29500000 1348043425 but ISODate in the shell like
"saved_at": ISODate("2012-09-19T08: 30: 25.295Z").
How i use its ISODate value to updating document?