Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Storing user createdAt date as an integer #1228
I'm trying to generate some basic statistics on user creation, using the following aggregation query:
However, it doesn't seem that Mongo supports casting during the aggregation query. I get Jan 1, 1970 for all entries.
If I store the a date using