---
title: "Discussion on \"Dates, Times, and Property Testing\" | Hashnode"
description: "Discussion on \"Dates, Times, and Property Testing\". How to convert a Unix timestamp to a Gregorian calendar date."
url: "https://hashnode.com/posts/dates-times-and-property-testing/6634128bc27873b6ee53487a"
---

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

Discussion

# [Dates, Times, and Property Testing](https://alexandercodes.hashnode.dev/dates-times-and-property-testing?utm_source=hashnode&utm_medium=feed)

How to convert a Unix timestamp to a Gregorian calendar date.

May 2, 2024 · 9 min read · alexandercodes.hashnode.dev  
Read the article

-   [#blockchain](https://hashnode.com/tag/blockchain)
-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)
-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#property-based-testing](https://hashnode.com/tag/property-based-testing)
-   [#algorand](https://hashnode.com/tag/algorand)

## Written by

[Alexander Codes](https://hashnode.com/@alexandercodes)

@alexandercodes

  
[View profile](https://hashnode.com/@alexandercodes)

Data Engineer

## Responses 2

Markdown supported · ⌘↵ to post

[KB](https://hashnode.com/@Krby)

[May 3, 2024](https://hashnode.com/posts/dates-times-and-property-testing/6634128bc27873b6ee53487a/comment/663435cdc9560b4b8bedf926)

Fantastic write up Alex!

[Alexander Codes](https://hashnode.com/@alexandercodes)

[May 3, 2024](https://hashnode.com/posts/dates-times-and-property-testing/6634128bc27873b6ee53487a/comment/663435cdc9560b4b8bedf926#reply-6634be609ab7a3ab1cfaa3c4)

Thanks!!

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[May 2, 2024](https://hashnode.com/posts/dates-times-and-property-testing/6634128bc27873b6ee53487a/comment/66341e0c9c6702968caee72e)

Nice, practical tutorial. Thank you for this! Would it make sense to roll it into a utility package and push it to PyPi?

[Alexander Codes](https://hashnode.com/@alexandercodes)

[May 3, 2024](https://hashnode.com/posts/dates-times-and-property-testing/6634128bc27873b6ee53487a/comment/66341e0c9c6702968caee72e#reply-66342eb01e2bd3cad0c42a94)

I think so, yeah.

I'm going to create a new repo at some point for smart contracts that I've tested properly, are versioned, and are deployed on testnet and mainnet.

Kind of like OpenZeppelin for Algorand :)
