Skip to content

Instantly share code, notes, and snippets.

@danielscarvalho
Last active March 13, 2024 17:59
Show Gist options
  • Save danielscarvalho/bd2455474b4e01f6a0de3b78ae7888e0 to your computer and use it in GitHub Desktop.
Save danielscarvalho/bd2455474b4e01f6a0de3b78ae7888e0 to your computer and use it in GitHub Desktop.
Random Date Time
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