what is the best way to use datetime in mongoDB -


i parsing nginx log , want store date , time logs mongodb..i storing date string(in format yyyy-mm-dd) in database , programming language perl.what best effective way store date..should use perl datetime module format date ""date" : "sun feb 13 2011 05:30:00 gmt+0530 (ist)""

i want understand best way store date in mongodb.please guide me

i suppose logs better story date date not string, because string not able query logs 1 date another(range). suppose use range queries more others.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -