I want to store date in my Postgres database.
The only problem is that this date can have optional day or even month.
Example:
User provides time period when he was employed - not necessary full date (day + month + year), but only start year and end year.
However there are users, who worked only from may to october in the same year so month have to be provided too.
How to handle this kind of optional date parts?
Date
. Then you can build aDate
if all attributes are given. U/I will be easier this way as well since you can provide 3 drop down lists. – engineersmnkyDate.parse
. – svoop