Skip to main content

Thasathi to Gregorian Calendar Conversion

Following algorithm is used to convert Thasathi date into Gregorian Date.
Let Ty=Year , Tm=Month Td=Date
Step 1: Convert Thiruvalluvar Era into Common Era
Common Year Y=Ty-30 (Before Jan 15)
Y=Ty-31 (On or After Jan 15)

Step 2: Determine Leap Index, (As per Gregorian Calendar Year)
L=0 for Normal Years
L=1 for Leap Years (Divisble by4, Not divisible by 100, Divisible by 400)

Step 3: Determine Gregorian Serial Number
G=Td +14(For First Month)
G=28*(Tm-1)+Td+15+L (For Other Months)
Cumulative Max Number of Months,
Gmax= [0 31 59 90 120 151 181 212 243 273 304 334];
if G lies in the above region we can find the month and date;
Example:

G=170
170 lies between 151 and 181, so the month is 6
date is 170-151=19.

Comments

Popular posts from this blog

ஒருபக்க திருவள்ளுவர் நாட்காட்டி

 

International Days

JANUARY 4 January World Braille Day  ( A/RES/73/161 ) 24 January International Day of Education  ( A/RES/73/25 ) 27 January International Day of Commemoration in Memory of the Victims of the Holocaust  ( A/RES/60/7 ) FEBRUARY 6 February International Day of Zero Tolerance to Female Genital Mutilation   ( A/RES/67/146 ) 10 February World Pulses Day  ( A/RES/73/251 ) 11 February International Day of Women and Girls in Science  ( A/RES/70/212 ) 13 February World Radio Day   ( A/RES/67/124 ) 20 February World Day of Social Justice    ( A/RES/62/10 ) 21 February International Mother Language Day   ( A/RES/56/262 )   MARCH 1 March Zero Discrimination Day   [UNAIDS] 3 March World Wildlife Day   ( A/RES/68/205 ) 8 March International Women's Day 20 March International Day of Happiness   ( A/RES/66/281 ) 20 March French Language Day  (French) 21 March Inter...

முகப்பு

தமிழில் புதிய நாட்காட்டியை  அறிமுகப்படுத்துகிறோம். தசதி நாட்காட்டி என்பது தமிழ் சர்வதேச திருவள்ளுவர் நாட்காட்டி என்பதன் சுருக்கம் ஆகும். தற்போதைய தமிழ் நாட்காட்டி 12 மாதங்களை கொண்டிருக்கும். அது கிரிகோரியன் நாட்காட்டியை போல் நிரந்தர மாறாத நாட்காட்டி அல்ல. தமிழில் ஒரு மாறாத நாட்காட்டி தேவைப்படுகிறது. தசதி நாட்காட்டியில் 13 மாதங்கள் உள்ளன. ஆண்டுக்கு 365 நாட்கள். 13 மாதங்களை பிரித்தால் மாதம் ஒன்றுக்கு 28.077 நாட்கள் வரும். ஒரு மாதத்திற்கு 28 நாட்கள் (சரியாக 4 வாரங்கள்) வரும். முதல் மாதம் மிகை மாதம் ஆகும் (ஆங்கிலத்தில் லீப்). மிகை மாதத்தில் சாதாரண ஆண்டில் 29 நாட்களும் மிகை ஆண்டில் 30 நாட்களும் வருமாறு வடிவமைக்கப்பட்டுள்ளது. ஜனவரி 15 முதல் நாள் ஆகவும் திருவள்ளுவர் ஆண்டை மையப்படுத்தியும் உருவாக்கப்படுகிறது. 28 நாட்கள் கொண்ட மாதம் மதி என அழைக்கப்படுகிறது. முதல் மதி மிகைமதி ஆகும்.ஆகும். திருக்குறளில் வரும் 13 இயல்களும் 13 மாதங்களாக (மதி) உள்ளது. 1. பாமதி (பாயிரவியல்) - ஜன 15 2. இல்மதி (இல்லற வியல் ) - பிப் 13/14* 3. துறமதி   (துறவற வியல் ) - மார் 13...