Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

How to store DateTime objects #18

Closed
viveky259259 opened this issue Feb 5, 2020 · 1 comment
Closed

How to store DateTime objects #18

viveky259259 opened this issue Feb 5, 2020 · 1 comment

Comments

@viveky259259
Copy link

No description provided.

@viveky259259 viveky259259 changed the title How to store DateTime objecta How to store DateTime objects Feb 5, 2020
@synw
Copy link
Owner

synw commented Feb 5, 2020

I recommend to store dates as timestamps in an integer field. It's easy to serialize/deserialize and you can search for timeframes in queries

@synw synw closed this as completed Feb 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants