Approximate year & different calendars (Gregorian, Julian, Hebrew, ...)
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        


««12

Approximate year & different calendars (Gregorian, Julian, Hebrew, ...) Expand / Collapse
Author
Message
Post #11385 Posted 6/6/2006 10:17:46 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: 2 days ago @ 1:23:29 PM
GenoPro Version: 2.5.0.1
Posts: 3,636, Visits: 15,144
I now have the following output:

Today 's date in the Gregorian calendar: Tuesday, June 06, 2006
Today 's date in the Hebrew calendar: 5766 סיוון 11   DayOfWeek: יום רביעי

Months in the Hebrew calendar:
Month #1 (Jan): ניסן
Month #2 (Feb): אייר
Month #3 (Mar): סיוון
Month #4 (Apr): תמוז
Month #5 (May): אב
Month #6 (Jun): אלול
Month #7 (Jul): תשרי
Month #8 (Aug): חשוון
Month #9 (Sep): כסלו
Month #10 (Oct): טבת
Month #11 (Nov): שבט
Month #12 (Dec): אדר
Month #13 (Sol): אדרב

GenoPro will eventually support time (hours & minutes), so there will be no need to have a checkbox to specify if the event occurred before or after the sunset.

Post #11386 Posted 6/6/2006 10:31:07 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Yesterday @ 4:10:16 PM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,385
GenoProSupport (6/6/2006)
I now have the following output:
Today 's date in the Gregorian calendar: Tuesday, June 06, 2006
Today 's date in the Hebrew calendar: 5766 סיוון 11   DayOfWeek: יום רביעי

This is the correct Hebrew date.

GenoProSupport (6/6/2006)
Months in the Hebrew calendar:


Month #1 (Jan): ניסן
Month #2 (Feb): אייר
Month #3 (Mar): סיוון
Month #4 (Apr): תמוז
Month #5 (May): אב
Month #6 (Jun): אלול
Month #7 (Jul): תשרי
Month #8 (Aug): חשוון
Month #9 (Sep): כסלו
Month #10 (Oct): טבת
Month #11 (Nov): שבט
Month #12 (Dec): אדר
Month #13 (Sol): אדרב

What is the meaning of the month in brackets?

Post #11387 Posted 6/6/2006 10:33:56 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Yesterday @ 4:10:16 PM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,385
GenoProSupport (6/6/2006)
GenoPro will eventually support time (hours & minutes), so there will be no need to have a checkbox to specify if the event occurred before or after the sunset.

What if I don't know the time? I think it will be easier on you if you have the checkbox. Time can not tell you if it is before or after sunset. For example 19:00 on winter is after sunset while on summer it is still day. You will have to know the exact time of sunset to know if you have to change dates.

Post #11450 Posted 6/8/2006 10:29:04 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: 2 days ago @ 1:23:29 PM
GenoPro Version: 2.5.0.1
Posts: 3,636, Visits: 15,144
Can someone confirm the date conversions from Gregorian to Hebrew are correct at page http://familytrees.genopro.com/DateConvertCalendar.aspx?

Post #11460 Posted 6/9/2006 4:31:18 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Yesterday @ 4:10:16 PM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,385
GenoProSupport (6/8/2006)
Can someone confirm the date conversions from Gregorian to Hebrew are correct at page http://familytrees.genopro.com/DateConvertCalendar.aspx

Yes the date as it appears in the page you mentioned is correct, in the Gregorian and the Hebrew calandar. Just Remember that after sunset the Hebrew calander will advance to the next day. ;)

Post #11557 Posted 6/16/2006 1:41:43 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: 2 days ago @ 1:23:29 PM
GenoPro Version: 2.5.0.1
Posts: 3,636, Visits: 15,144
After revising my code, came to the conclusion the Hebrewmonths were not rotated properly.  Is this correct?

Today 's date in the Gregorian calendar: Friday, June 16, 2006
Today 's date in the Hebrew calendar: 5766 סיוון 20   DayOfWeek: יום שישי

Months in the Hebrew calendar:
Month #1 (Nisan): ניסן
Month #2 (Iyyar): אייר
Month #3 (Sivan): סיוון
Month #4 (Tamuz): תמוז
Month #5 (Av): אב
Month #6 (Elul): אלול
Month #7 (Tishrei): תשרי
Month #8 (Cheshvan): חשוון
Month #9 (Kislev): כסלו
Month #10 (Tevet): טבת
Month #11 (Shvat): שבט
Month #12 (AdarI): אדר
Month #13 (AdarII): אדרב


Post #11562 Posted 6/16/2006 4:34:25 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Yesterday @ 4:10:16 PM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,385
GenoProSupport (6/16/2006)
After revising my code, came to the conclusion the Hebrewmonths were not rotated properly.  Is this correct?

Today 's date in the Gregorian calendar: Friday, June 16, 2006
Today 's date in the Hebrew calendar: 5766 סיוון 20   DayOfWeek: יום שישי

Yes. This is the correct date.

Post #11563 Posted 6/16/2006 4:37:38 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: 2 days ago @ 1:23:29 PM
GenoPro Version: 2.5.0.1
Posts: 3,636, Visits: 15,144
Yehudad (6/16/2006)
Yes. This is the correct date.

Great.  The changes will be in Beta 16d.

Post #11564 Posted 6/16/2006 4:46:28 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Yesterday @ 4:10:16 PM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,385
GenoProSupport (6/16/2006)
Great.  The changes will be in Beta 16d.

Will this fix will solve the problem I have with converting Gregorian years to Hebrew years?

Post #11566 Posted 6/16/2006 5:00:12 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: 2 days ago @ 1:23:29 PM
GenoPro Version: 2.5.0.1
Posts: 3,636, Visits: 15,144
Yehudad (6/16/2006)
[Will this fix will solve the problem I have with converting Gregorian years to Hebrew years?

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.

Post #11572 Posted 6/17/2006 3:46:50 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Yesterday @ 4:10:16 PM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,385
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.

Post #11581 Posted 6/18/2006 7:15:41 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: 2 days ago @ 1:23:29 PM
GenoPro Version: 2.5.0.1
Posts: 3,636, Visits: 15,144
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.

Post #11583 Posted 6/18/2006 9:27:14 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Yesterday @ 4:10:16 PM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,385
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!

Post #11584 Posted 6/18/2006 10:06:08 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: 2 days ago @ 1:23:29 PM
GenoPro Version: 2.5.0.1
Posts: 3,636, Visits: 15,144
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. 

Post #11586 Posted 6/18/2006 10:42:21 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: 2 days ago @ 1:23:29 PM
GenoPro Version: 2.5.0.1
Posts: 3,636, Visits: 15,144
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.

Post #11588 Posted 6/18/2006 1:57:21 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Yesterday @ 4:10:16 PM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,385
Thanks a lot. It looks much better
Post #11737 Posted 6/30/2006 2:09:28 PM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 5:10:30 AM
GenoPro Version: 2.0.1.6
Posts: 973, Visits: 9,257
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
Post #11741 Posted 7/2/2006 3:52:47 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: 2 days ago @ 1:23:29 PM
GenoPro Version: 2.5.0.1
Posts: 3,636, Visits: 15,144
The current design allows only one calendar at the time.  GenoPro cannot display a date in Gregorian and Hebrew calendar simultaneously.

Post #14973 Posted 12/4/2006 1:45:27 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 9/25/2009 3:04:34 AM
GenoPro Version: 2.0.1.6
Posts: 12, Visits: 33
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

Post #15005 Posted 12/5/2006 3:52:33 PM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 9/13/2009 5:24:23 AM
GenoPro Version: 2.0.1.6
Posts: 140, Visits: 2,214
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

« Prev Topic | Next Topic »

««12

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 5:34 PM

Copyright 1998-2009 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.