A
A
alestro2017-10-13 22:23:54
MySQL
alestro, 2017-10-13 22:23:54

How to store the release date in the database?

Strictly speaking, you need to store the release date of the game in the database subject to the following conditions:
The date can be known up to the day;
The date may be known to the month or quarter of the year, or just the year;
Dates may not be known;
With all this, it is necessary to carry out a selection taking into account: released | not released, new | old ones, indicating the time interval
How is it better to implement such

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2017-10-13
@zkelo

Perhaps the solution suggested in this question will help you

U
Uwe_Boll, 2017-10-13
@Uwe_Boll

the most optimal is datetime null
habr

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question