Announcement

Collapse

Informatii si clarificari privind datele personale

Datele cu caracter personal pe care siteul ForumToyota.ro le colecteaza pe Forum sunt descrise mai jos, impreuna cu scopul, modul si temeiul prelucrarii lor precum si durata pe care are loc stocarea si/sau prelucrarea. Aceste date nu sunt prelucrate in alte moduri decat cele mentionate, nu sunt folosite in scopuri de marketing, nu sunt comercializate si nu sunt transferate unor terti.

__________________________________________________ ________________________________


I. "Date necesare" - colectate la inregistrarea unui cont de membru:
Adresa de email, necesara pentru:
validarea contului
resetarea parolei, in cazul in care a fost uitata
transmitere notificari privind anumite evenimente intamplate pe Forum (optional, opt-in) - ex: reply intr-un topic urmarit, reply la un mesaj personal (PM)
comunicari ocazionale in scop informativ (non-marketing, non-comercial) din partea administratiei Forumului (optional, opt-in)
NU este afisata public pe Forum, iar ceilalti membri nu au acces la ea, nici macar cei din echipa de moderare (moderatori, supermoderatori)
Username, necesar pentru autentificare (login)
Este afisat public pe Forum, in dreptul postarilor/mesajelor scrise de membrul respectiv, pentru a putea facilita o discutie cursiva
Parola, necesara pentru autentificare (login)
NU este afisata nicaieri
NU este stocata intr-o forma citibila (plain text), ci numai in forma criptata
Motiv: fara aceste date nu este posibila crearea unui cont de membru, iar fara cont nu se poate participa la discutii.
Temei: interesul legitim.
Durata: pe toata durata existentei contului de membru
__________________________________________________ ________________________________


II. "Date optionale" - pe care membrii Forumului Forumtoyota au posibilitatea sa le introduca in contul propriu daca doresc:
Location - eliminat de tot, pentru ca in ciuda explicatiilor au aparut confuzii privind semnificatia si rolul acestui camp
Data nasterii
Hobby-uri (interests)
Model/marca si motorizarea masinii

Temei: consimtamantul (consent).
Durata: atat cat doreste persoana, datele pot fi introduse/modificate/sterse in orice moment direct din cont

Introducerea acestor date este pur optionala, iar accesul integral la toate serviciile oferite de Forumul Forumtoyota nu este conditionat in niciun fel de introducerea acestor date. Aceste date sunt prelucrate exclusiv pentru afisarea lor in pagina personala a contului (profil public - exemplu) care poate fi accesata de oricare alt membru inregistrat pe Forumul ForumToyota(dar nu si de vizitatorii neautentificati-guest sau de crawlerii web precum Googlebot). Deasemenea, denumirile campurilor in care pot fi introduse aceste informatii sunt orientative, membrii nu au vreo obligatie sa le completeze cu acuratete.

Recomandam sa completati informatiile optionale numai daca doriti ca ceilalti membri ai Forumului sa le cunoasca. Pentru a ne asigura de acest fapt, toate datele optionale introduse pana la 18.05.2018 au fost sterse. Ele pot fi reintroduse daca membrii doresc acest lucru, luand in considerare cele mentionate mai sus.
__________________________________________________ _____________________________


III. "Date colectate automat" - pentru fiecare accesare a Forumului, indiferent daca e vorba de un vizitator autentificat (membru) sau neautentificat (guest):
Adresa IP
User-Agent: sir de caractere prin care aplicatia de web browsing se "recomanda" catre server (ex: Chrome)
HTTP Referer: pagina vizitata anterior celei curente
Aceste date NU sunt afisate in mod public pe Forum, membrii nu au acces la ele, nici macar cei din echipa de moderare (moderatori, supermoderatori).

Motiv: aceste date sunt colectate si procesate pentru indeplinirea unor obligatii legale (ex: cooperarea in investigatii ale autoritatilor, conform legii) sau pentru implementarea unor strategii de aparare impotriva unor atacuri informatice (ex: hacking, (D)DOS, crawling neautorizat)
Temei: obligatia legala, interesul legitim
Durata: 30 de zile in jurnalele de acces ale serverelor care gazduiesc Forumul ForumToyota(webserver logs). Adresele IP sunt stocate si in baza de date a Forumului, pentru fiecare mesaj scris (permanent) si pentru sesiunile de autentificare (pana la expirarea lor sau invalidare prin log out).
See more
See less

day finder by date formula

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • day finder by date formula

    Hello, visitor!


    Day calculation from date. Note: This is not a java specific post. The below mentioned methods are not specific to any technology and can be implemented in any programming language.


    ENTER TO THE SITE


    INTRODUCTION. There are two formulas for calculating the day of the week for a given date. Zeller’s Rule Key-Value Method. Note: Both the methods work only for the Gregorian calendar. (People in English-speaking countries used a different calendar before September 14, 1752.) 1) Zeller’s Rule. F=k+ [(13*m-1)/5] +D+ [D/4] +[C/4]-2*C where. k is the day of the month. m is the month number. D is the last two digits of the year. C is the first two digits of the year. Note: According to Zeller’s rule the month is counted as follows: March is 1, April is 2….. January is 11 and February is 12. So the year starts from March and ends with February. So if the given date has month as January or February subtract 1 from the year. For example: For 1st January 1998 subtract 1 from 1998 i.e. 1998-1=1997 and use 1997 for calculating D. Discard all the decimal values and then find the final value of F. After getting the value of F, divide it by 7.The value of F can be either positive or negative. If it is negative, let us suppose F = -15. When we divide by 7 we have to find the greatest multiple of 7 less than -15, so the remainder will be positive (or zero). -21 is the greatest multiple of 7 less than -15, so the remainder is 6 since -21 + 6 = -15. Alternatively, we can say that -7 goes into -15 twice, making -14 and leaving a remainder of -1.If we add 7 since the remainder is negative i.e. -1 + 7 we again get 6 as remainder. After getting the remainder we can find the day of the week for the given date. Following are the values for the corresponding remainders: Sun Mon Tue Wed Thurs Fri Sat 0 1 2 3 4 5 6. Examples for day calculation using Zeller’s Rule: Let us calculate the day for the following dates: 1st April 1983 and 27 th February 2023. A) 1 st April 1983: Here k = 1 m=2 D=83 C=19. Putting the values in the formula, we get, F= 1+ [(13*2-1)/5] +83+83/4+19/4-2*19 = 1+ [(26-1)/5]+83+20.75+4.75-38 = 1+25+83+20+4-38 (discarding the decimal values) = 133-38 = 75. After calculating F divide it by 7 and get the remainder. 78/7=11 Quotient 5-Remainder. Therefore, the day on 1 st April 1983 was Friday since the remainder is 5. B) 2nd March 2004: Here, k = 2 m= 1 D= 04 C= 20. Putting the values in the formula, we get, F= 2+ [(13*1-1)/5] +04+04/4+20/4-2*20 = 2+ [(13-1)/5] +04+01+05-40 = 2+ [12/5] +10-40 = 2+2+10-40 (discarding the decimal values) = 14-40 = -26. Here F is negative. So when we divide by 7 we have to find the greatest multiple of 7 less than -26, so the remainder will be positive (or zero). -28 is the greatest multiple of 7 less than -26, so the remainder is 2 since -28 + 2 = -26. So, the remainder is 2. Therefore, the day on 2 nd March 2004 was Tuesday since the remainder is 5. C) 27 th February 2023: k = 27 m = 12 D = 22 (Since month count starts from March) C = 20. Putting the values in the formula, we get, F = 27+ [(13*12-1)/5] +22+22/4+20/4-2*20 = 27+ [(159-1)/5] +22+5.5+5-40 = 27+ [158/5] +22+5.5+5-40 = 27+ [31.6] + 22 + 5.5 + 5 – 40 = 27+ 31+22+5+5-40 ( discarding the decimal values) = 90-40 = 50. After dividing F by 7, we get remainder as 50/7=1. Therefore, the day on 27 th February 2023 is Monday since the remainder is 1. 2) The Key Value Method. The Key Value method uses codes for different months and years to calculate the day of the week. It would be easier if one is able to memorize the codes which are very easy to learn. S teps: Suppose the year is not in the above table. In this case all we have to do is add or subtract 400 until we have a year (century) that is in the table. Then get the code for the year from the above table and add the value to the previous step (our running total). Now, we will try to implement the above method by taking two examples, one for a normal year and other for a leap year. Let us take 19th November 2582 as an example. Take the last 2 digits of the year. In our case, this is 82. Divide it by 4 and discard any remainder. 82 / 4 = 20, remainder 2, so we take only 20 discarding 2 (remainder). Add the day of the month. In our example, 20 + 19 = 39. The month in our example is November, which has the key value of 4. Therefore, 39 + 4 = 43. Our example year is 2582, and the 2500s aren’t in the table. In this case all we have to do is add or subtract 400 until we have a year (century) that is in the table. 2582 – 400 = 2182.


    Day finder by date formula


Working...
X
Logan | Dacia Logan |Anulare DPF
Politica de Securitate Google