---
title: "Discussion on \"You are handling timestamps incorrectly with MongoDB!\" | Hashnode"
description: "Discussion on \"You are handling timestamps incorrectly with MongoDB!\". You're probably not even aware of it, but you use createdAt and updatedAt in your backend services all the time, right?"
url: "https://hashnode.com/posts/you-are-handling-timestamps-incorrectly-with-mongodb/68681f2c9b430528fcd12a15"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [You are handling timestamps incorrectly with MongoDB!](https://beyondthestack.hashnode.dev/you-are-handling-timestamps-incorrectly-with-mongodb?utm_source=hashnode&utm_medium=feed)

You're probably not even aware of it, but you use createdAt and updatedAt in your backend services all the time, right?

Jul 4, 2025 · 4 min read · beyondthestack.hashnode.dev  
Read the article

-   [#timestring](https://hashnode.com/tag/timestring)
-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#databases](https://hashnode.com/tag/databases)
-   [#aggregation-pipeline](https://hashnode.com/tag/aggregation-pipeline)
-   [#mongoose](https://hashnode.com/tag/mongoose)
-   [#apis](https://hashnode.com/tag/apis)
-   [#backend-developments](https://hashnode.com/tag/backend-developments)
-   [#backend](https://hashnode.com/tag/backend)
-   [#timestamp](https://hashnode.com/tag/timestamp)

## Written by

[Ismail Bin Mujeeb](https://hashnode.com/@ismail-bin-mujeeb)

@ismail-bin-mujeeb · Pune, India

  
[View profile](https://hashnode.com/@ismail-bin-mujeeb)

Making :DX a little bit better

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
