Query - Compare date fields
Posted: 26 Jan 2023 00:02
Sorry I am new to FH and group. I did not see a specific area for Queries. I am familiar with queries for SQL / MySql / SQlite.
My Question is where I can find examples of how to compare two date fields. Like if %INDI.BURI[1].DATE% <= %INDI.DEAT[1].DATE%. I would use this to filter rows. I would have some other filters but essentially I would want to find burials that had "1872" and Death of July 12th 1872 or any burial that was less than or equal Death (where both had at least year of course).
My Question is where I can find examples of how to compare two date fields. Like if %INDI.BURI[1].DATE% <= %INDI.DEAT[1].DATE%. I would use this to filter rows. I would have some other filters but essentially I would want to find burials that had "1872" and Death of July 12th 1872 or any burial that was less than or equal Death (where both had at least year of course).