aDate

So far, Skylendar used the postgresql type Date to store birthdates. But this type is limited to 4713 BC whereas the swisseph library can deal with dates below. That's why a new postgres type has been developed - aDate - which can store dates down to 1000000 BC.

This type stores and retrieves dates like date type, but not hours. .e.g:

SELECT Birthday FROM Data WHERE Name = ...

Get the day, month or year with the dedicated function aExtract:

SELECT aExtract('Month', Birthday) FROM Data WHERE ...