GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Approximate year & different calendars (Gregorian, Julian, Hebrew,...

Click to view RSS...
Author How to show an approximate date?
Posted Friday, June 16, 2006 - Post #11572
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
GenoProSupport (6/16/2006)
Nope.  What you are asking is nearly impossible because the date parser is not capable to recognize two years within the same date.  If you enter a year in a given calendar, GenoPro will do its best to approximate this year in a different calendar, however it may not be the exact year because some years to "overlap".

By the way,  I have fixed the problem of a date being one day off, from the Gregorian calendar to the Hebrew calendar.  I am using the page http://familytrees.genopro.com/DateConvertCalendar.aspx as the reference.

There are more than a few cases in a family tree that you only have a year as approximate date. GenoPro must have some logic to deal with such dates. In my example I told you that the conversion resulted in -262 which is simply an error. It means that the calander is not working.

If you try to convert just a year in the page http://familytrees.genopro.com/DateConvertCalendar.aspx you will get an application error. As I said in that discussion GenoPro need to find a way to convert, otherwise many people in the family tree will have meaningless numbers as dates. As I said there 2006 can be 5766 as it is the Hebrew year for most of 2006. Only in September/October it changes to 5767. So 5766 can be the Hebrew year for 2006, when only a year is the date.

The same applies to any other year.

Posted Sunday, June 18, 2006 - Post #11581
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, October 13, 2024
Posts: 4,887, Visits: 22,769
GenoPro does not support negative years yet.  If you switch calendars, make sure the dates range from 0001 AD to 9999 AD in the Gregorian calendar.
Posted Sunday, June 18, 2006 - Post #11583
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
GenoProSupport (6/18/2006)
GenoPro does not support negative years yet.  If you switch calendars, make sure the dates range from 0001 AD to 9999 AD in the Gregorian calendar.

It is!!!

I sent you an email in this regard. I do have a valid year! I have someone who was born Abt 1980. This is what I have, just the year (approximate age). The conversion is to a negative number! Try entering just 1980 in the page you mentioned without any day or month - you will get an application error!

Edited: Sunday, June 18, 2006 by Yehudad

Posted Sunday, June 18, 2006 - Post #11584
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, October 13, 2024
Posts: 4,887, Visits: 22,769
You are right.  Entering Abt 1980 (Gregorian) gives ~5740 (Hebrew) on the debug build, however on the release version, the result is a negative number.  I spend 99.9% of my time testing the debug version because it has internal sanity checks for data integrity.

This time, it is the opposite; the debug build works fine and the release version doesn't work. I am investigating this. 

Posted Sunday, June 18, 2006 - Post #11586
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, October 13, 2024
Posts: 4,887, Visits: 22,769
I found what the problem was. Somehow the compiler optimized the code by calling the functions in a different order.

c = FunctionA() + FunctionB()

On my debug build, FunctionA was called before FunctionB, however on the release build (the one you got), it is FunctionB which was called first, followed by FunctionA.  Well, in the case of converting dates to a different calendar, FunctionA may change some values for FunctionB.  Calling FunctionB first produces the wrong result.

The result was a garbage date value.  If you download Beta 16e, the date conversion whould work fine.

Edited: Sunday, June 18, 2006 by GenoProSupport

Posted Sunday, June 18, 2006 - Post #11588
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
Thanks a lot. It looks much better Smile Hehe

Edited: Sunday, June 18, 2006 by GenoProSupport
Posted Friday, June 30, 2006 - Post #11737
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 days ago @ 4:16 AM
Posts: 1,582, Visits: 31,566
Not sure whether to report this here as a feature, or a new topic under bug.

If you have a range of dates for people, some are under Julian calendar but in UK this was replaced in 1754 (or 5 - can not remember at present) So after that date entries were Gregorian. It does not seem possible to have different calendars on the same GenoMap or even the same file. I am trying to alter existing data, not enter new information

Second I have found that entering 'Abt 1562' is converted to ~1562 in the Birth/Properties table but the display only shows 1562.

Finally if I use the year 1562/63 in the table it is accepted, sort of, in that the table shows 1562/63 against a pink background but nothing appears on the display
Posted Sunday, July 2, 2006 - Post #11741
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, October 13, 2024
Posts: 4,887, Visits: 22,769
The current design allows only one calendar at the time.  GenoPro cannot display a date in Gregorian and Hebrew calendar simultaneously.
eu7
Posted Monday, December 4, 2006 - Post #14973
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.0

Last Login: Tuesday, January 26, 2021
Posts: 12, Visits: 34
Aren't there simple programs out there that quickly calculate the appropriate Hebrew date from a Gregorian date? 

I agree that some kind of "after sunset" check would be necessary.

BTW the thirteenth month is Adar II which comes about every few years, seemingly in no simple order, so the above program is necessary.

Uri

rdn
Posted Tuesday, December 5, 2006 - Post #15005
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
Actually there is an order for the thirteenth month.  It appears 7 times in 19 years.  Check out the article in the NYT for a description of an ancient device that calculated this lunar year ( ~ 354 days) vs. solar year (~ 365.25 days) correction: http://www.nytimes.com/2006/11/30/science/30compute.html

 

Danny



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 4 - 1 guest, 2 members, 0 anonymous.
Refresh