Last active
March 13, 2024 17:59
-
-
Save danielscarvalho/bd2455474b4e01f6a0de3b78ae7888e0 to your computer and use it in GitHub Desktop.
Random Date Time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
def getrandomdatetime(): | |
return str(datetime.fromtimestamp(np.random.randint(0, 2177334732))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment