Skip to main content

Gregorian Calendar to Thasathi Conversion

Following algorithm is used to convert Gregorian date into Thasathi Date.
Let Y=Year (CE), M=Month D=Date
Step 1: Convert Common Era into Thiruvalluvar Era. 
Thiruvalluvar Year Ty = Y+30 (M=1, D<15)
=Y+31 (Others)

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

Step 3: For January Month,
Tm=13, D=D+14   (Before Jan 15)
Tm=1, D=D-14 (On or After Jan 15)

Step 4: For February Month,
Tm=1, D=D+17 (Before Feb 13+L)
Tm=2, D=D-12-L (On or After 13+L)

Gregorian Date Serial Number:
DSN= 30x(M-1) +D+E -->(1)
E is the additional day above 30 day months.
E=0 (Jan, Apr, May)
E=1 (Feb, June, July)
E=-1 (Mar)
E=2, Aug
E=3 (Sep, Oct)
E=4 (Nov,Dec)
Thasathi Date Serial Number:
TSN= DSN-14;
TSN=28*(Tm-1)+Td+1     -->(2)
Equating (1) and (2),
28*(Tm-1)+Td+1 +14= 30*(M-1)+D+E
28Tm-28+Td+15=30M-30+D+E
28Tm+Td=30M+D+E-17

28Tm+Td=30M+D+Z
Step 5: Determine Thasathi Date Index,
T=30*M+D-Z
where, Z=18 (Mar)
=17 (Apr, May)
=16 (June July)
=15(Aug)
=14 (Sep Oct)
=13 (Nov,Dec)
Step 6: Determine Thasathi Month and Date
Tm= Int((T)/28))
Td = 1+Rem ((T-1)/28)


     

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...