Accueil > > > DATE HEURE UTC
DATE HEURE UTC
Information sur la source
Description
C'est le décalage horaire de tous les pays.
Source
- <div id="local"></div>
- <div id="utc"></div>
- <div id="azerty"></div>
- <script langage="JavaScript">
- OK=1
- go=0
- ka=0
- function GET(Date)
- {
- /////////////////////////////////////////
- Heures=Date.getHours()
- Minutes=Date.getMinutes()
- Secondes=Date.getSeconds()
- Millisecondes=Date.getMilliseconds()
- Jour=Date.getDate()
- JourSemaine=Date.getDay()
- Mois=Date.getMonth()
- Annee=Date.getYear()
- AnneeFull=Date.getFullYear()
- /////////////////////////////////////////
- SemainesName=new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi")
- MoisName=new Array("Janvier","Février","Mars","Avril","Mai","Juin","Julliet","Août","Septembre","Octobre","Novembre","Décembre")
- /////////////////////////////////////////
- document.all.local.innerHTML="<font color='blue'>Heure Locale : "+SemainesName[JourSemaine]+" "+Jour+" "+MoisName[Mois]+" "+Annee+" <b>"+Heures+"h"+Minutes+"</b> "+Secondes+"."+Millisecondes+"</font>"
- /////////////////////////////////////////
- setTimeout('GET(new Date())',0)
- }
-
-
- function ART(H,k)
- {
- //+:00:00 = 13
- Decalage=new Array("-:12:00","-:11:00","-:10:00","-:9:00","-:8:00","-:7:00","-:6:00","-:5:00","-:4:00","-:3:30","-:3:00","-:2:00","-:1:00","+:0:00","+:1:00","+:2:00","+:3:00","+:3:30","+:4:00","+:4:30","+:5:00","+:5:30","+:6:00","+:7:00","+:8:00","+:9:00","+:9:30","+:10:00","+:11:00","+:12:00")
- /////////////////////////////////////////
- Heuree=H.getUTCHours()
- Minutee=H.getUTCMinutes()
- FRE=Decalage[k].split(":")
- KK=k
- /////////////////////////////////////////
- if(FRE[0]=="+")
- {
- for(h=1;h<=FRE[1];h++)
- {
- Heuree++
- }
- for(m=1;m<=FRE[2];m++)
- {
- Minutee++
- }
- }
-
- if(FRE[0]=="-")
- {
- for(h=1;h<=FRE[1];h++)
- {
- Heuree--
- }
- for(m=1;m<=FRE[2];m++)
- {
- Minutee--
- }
- }
- /////////////////////////////////////////
- D=new Date (H.getUTCFullYear(), H.getUTCMonth(), H.getUTCDate(),Heuree,Minutee,H.getUTCSeconds(),H.getUTCMilliseconds());
- /////////////////////////////////////////
- aHeures=D.getHours()
- aMinutes=D.getMinutes()
- aSecondes=D.getSeconds()
- aMillisecondes=D.getMilliseconds()
- aJour=D.getDate()
- aJourSemaine=D.getDay()
- aMois=D.getMonth()
- aAnneeFull=D.getFullYear()
- /////////////////////////////////////////
- Heuremoin=aHeures-H.getHours()
- Minutemoin=H.getMinutes()-aMinutes
- if(Heuremoin>0)
- Heuremoin="+"+Heuremoin
- /////////////////////////////////////////
- aSemainesName=new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi")
- aMoisName=new Array("Janvier","Février","Mars","Avril","Mai","Juin","Julliet","Août","Septembre","Octobre","Novembre","Décembre")
- /////////////////////////////////////////
- document.all.utc.innerHTML="<font color='red'>Heure Etrangère : "+aSemainesName[aJourSemaine]+" "+aJour+" "+aMoisName[aMois]+" "+aAnneeFull+" <b>"+aHeures+"h"+aMinutes+"</b> "+aSecondes+"."+aMillisecondes+"</font>"
- document.all.azerty.innerHTML="<font color='green'>Décalage "+Heuremoin+"h"+Minutemoin+"</font>"
- /////////////////////////////////////////
- if(OK==1)
- setTimeout('ART(new Date(),KK)',1)
- else
- go=1
- }
-
- function Change(re) {
- if(ka==1)
- { OK=0;TYTY=re;
- if(go==1)
- { OK=1;ART(new Date(),TYTY);go=0;ka==0;}
- else setTimeout('Change(TYTY)',1);
- };}
-
- </script>
- <body onLoad="GET(new Date());OK=1;ART(new Date(),13)">
- <form onSubmit="return false;">
-
- <SELECT id=select1 style="WIDTH: 460px " name=select1 onChange="ka=1;Change(this.value)">
- <OPTION value=0>(GMT -12:00) Eniwetok, Kwajalein</OPTION>
- <OPTION value=1>(GMT -11:00) Îles Midway, Samoa</OPTION>
- <OPTION value=2>(GMT -10:00) Hawaii</OPTION>
- <OPTION value=3>(GMT -9:00) Alaska</OPTION>
- <OPTION value=4>(GMT -8:00) Pacifique (USA et Canada); Tijuana</OPTION>
- <OPTION value=5>(GMT -7:00) Arizone</OPTION>
- <OPTION value=5>(GMT -7:00) Montagne (USA et Canada)</OPTION>
- <OPTION value=6>(GMT -6:00) Central (USA et Canada</OPTION>
- <OPTION value=6>(GMT -6:00) Mexico, Tegucigalpa</OPTION>
- <OPTION value=6>(GMT -6:00) Saskatchewan</OPTION>
- <OPTION value=7>(GMT -5:00) Bogota, Lima, Quito</OPTION>
- <OPTION value=7>(GMT -5:00) Est (USA et Canada)</OPTION>
- <OPTION value=7>(GMT -5:00) Indiana (Est)</OPTION>
- <OPTION value=8>(GMT -4:00) Caracas, La Paz</OPTION>
- <OPTION value=8>(GMT -4:00) Heure Atlantique (Canada)</OPTION>
- <OPTION value=8>(GMT -4:00) Santiago</OPTION>
- <OPTION value=9>(GMT -3:30) Terre-Neuve</OPTION>
- <OPTION value=10>(GMT -3:00) Buenos Aires, Georgetown</OPTION>
- <OPTION value=11>(GMT -2:00) Centre-Atlantique</OPTION>
- <OPTION value=12>(GMT -1:00) Les Açores, Îles du Cap Vert</OPTION>
- <OPTION value=13>(GMT =0:00) Casablanca, Monrovia</OPTION>
- <OPTION value=13 selected>(GMT =0:00) Heure de Greenwich; Dublin, Edimbourg, Lisbonne, Londres</OPTION>
- <OPTION value=14>(GMT +1:00) Amsterdam, Berlin, Berne, Rome, Stockholm, Vienne</OPTION>
- <OPTION value=14>(GMT +1:00) Belgrade, Bratislava, Budapest, Ljublijana, Prague</OPTION>
- <OPTION value=14>(GMT +1:00) Bruxelles Copenhage, Madrid, Paris</OPTION>
- <OPTION value=15>(GMT +2:00) Athènes, Istanbul, Minsk</OPTION>
- <OPTION value=15>(GMT +2:00) Bucarest</OPTION>
- <OPTION value=15>(GMT +2:00) Harare, Pretoria</OPTION>
- <OPTION value=15>(GMT +2:00) Helsinki, Riga, Tallinn</OPTION>
- <OPTION value=15>(GMT +2:00) Jérusalem</OPTION>
- <OPTION value=15>(GMT +2:00) Le Caire</OPTION>
- <OPTION value=16>(GMT +3:00) Bagdad, Koweït, Riyad</OPTION>
- <OPTION value=16>(GMT +3:00) Moscou, St. Petersbourg, Volgograd</OPTION>
- <OPTION value=16>(GMT +3:00) Nairobi</OPTION>
- <OPTION value=17>(GMT +3:30) Téhéran</OPTION>
- <OPTION value=18>(GMT +4:00) Abu Dhabi, Muscat</OPTION>
- <OPTION value=18>(GMT +4:00) Bakou, Tbilissi</OPTION>
- <OPTION value=19>(GMT +4:30) Kaboul</OPTION>
- <OPTION value=20>(GMT +5:00) Ekaterinbourg</OPTION>
- <OPTION value=20>(GMT +5:00) Islamabad, Karachi, Tachkent</OPTION>
- <OPTION value=21>(GMT +5:30) Bombay, Calcutta, Madras, New Delhi</OPTION>
- <OPTION value=22>(GMT +6:00) Astana, Almaty, Dhaka</OPTION>
- <OPTION value=22>(GMT +6:00) Colombo</OPTION>
- <OPTION value=23>(GMT +7:00) Bangkok, Hanoi, Djakarta</OPTION>
- <OPTION value=24>(GMT +8:00) Pékin, Chongqing, Hong Kong, Urumqi</OPTION>
- <OPTION value=24>(GMT +8:00) Perth</OPTION>
- <OPTION value=24>(GMT +8:00) Singapour</OPTION>
- <OPTION value=24>(GMT +8:00) Taipeh</OPTION>
- <OPTION value=25>(GMT +9:00) Osaka, Sapporo, Tokyo</OPTION>
- <OPTION value=25>(GMT +9:00) Séoul</OPTION>
- <OPTION value=25>(GMT +9:00) Yakoustk</OPTION>
- <OPTION value=26>(GMT +9:30) Adélaïde</OPTION>
- <OPTION value=26>(GMT +9:30) Darwin</OPTION>
- <OPTION value=27>(GMT +10:00) Brisbane</OPTION>
- <OPTION value=27>(GMT +10:00) Canberra, Melbourne, Sydney</OPTION>
- <OPTION value=27>(GMT +10:00) Guam, Port Moresby</OPTION>
- <OPTION value=27>(GMT +10:00) Hobart</OPTION>
- <OPTION value=27>(GMT +10:00) Vladivostok</OPTION>
- <OPTION value=28>(GMT +11:00) Magadan, Îles Salomon, Nouvelle Calédonie</OPTION>
- <OPTION value=29>(GMT +12:00) Auckland, Wellington</OPTION>
- <OPTION value=29>(GMT +12:00) Fidji, Kamtchatka, Îles Marshall</OPTION>
- </SELECT>
-
- </form>
<div id="local"></div>
<div id="utc"></div>
<div id="azerty"></div>
<script langage="JavaScript">
OK=1
go=0
ka=0
function GET(Date)
{
/////////////////////////////////////////
Heures=Date.getHours()
Minutes=Date.getMinutes()
Secondes=Date.getSeconds()
Millisecondes=Date.getMilliseconds()
Jour=Date.getDate()
JourSemaine=Date.getDay()
Mois=Date.getMonth()
Annee=Date.getYear()
AnneeFull=Date.getFullYear()
/////////////////////////////////////////
SemainesName=new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi")
MoisName=new Array("Janvier","Février","Mars","Avril","Mai","Juin","Julliet","Août","Septembre","Octobre","Novembre","Décembre")
/////////////////////////////////////////
document.all.local.innerHTML="<font color='blue'>Heure Locale : "+SemainesName[JourSemaine]+" "+Jour+" "+MoisName[Mois]+" "+Annee+" <b>"+Heures+"h"+Minutes+"</b> "+Secondes+"."+Millisecondes+"</font>"
/////////////////////////////////////////
setTimeout('GET(new Date())',0)
}
function ART(H,k)
{
//+:00:00 = 13
Decalage=new Array("-:12:00","-:11:00","-:10:00","-:9:00","-:8:00","-:7:00","-:6:00","-:5:00","-:4:00","-:3:30","-:3:00","-:2:00","-:1:00","+:0:00","+:1:00","+:2:00","+:3:00","+:3:30","+:4:00","+:4:30","+:5:00","+:5:30","+:6:00","+:7:00","+:8:00","+:9:00","+:9:30","+:10:00","+:11:00","+:12:00")
/////////////////////////////////////////
Heuree=H.getUTCHours()
Minutee=H.getUTCMinutes()
FRE=Decalage[k].split(":")
KK=k
/////////////////////////////////////////
if(FRE[0]=="+")
{
for(h=1;h<=FRE[1];h++)
{
Heuree++
}
for(m=1;m<=FRE[2];m++)
{
Minutee++
}
}
if(FRE[0]=="-")
{
for(h=1;h<=FRE[1];h++)
{
Heuree--
}
for(m=1;m<=FRE[2];m++)
{
Minutee--
}
}
/////////////////////////////////////////
D=new Date (H.getUTCFullYear(), H.getUTCMonth(), H.getUTCDate(),Heuree,Minutee,H.getUTCSeconds(),H.getUTCMilliseconds());
/////////////////////////////////////////
aHeures=D.getHours()
aMinutes=D.getMinutes()
aSecondes=D.getSeconds()
aMillisecondes=D.getMilliseconds()
aJour=D.getDate()
aJourSemaine=D.getDay()
aMois=D.getMonth()
aAnneeFull=D.getFullYear()
/////////////////////////////////////////
Heuremoin=aHeures-H.getHours()
Minutemoin=H.getMinutes()-aMinutes
if(Heuremoin>0)
Heuremoin="+"+Heuremoin
/////////////////////////////////////////
aSemainesName=new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi")
aMoisName=new Array("Janvier","Février","Mars","Avril","Mai","Juin","Julliet","Août","Septembre","Octobre","Novembre","Décembre")
/////////////////////////////////////////
document.all.utc.innerHTML="<font color='red'>Heure Etrangère : "+aSemainesName[aJourSemaine]+" "+aJour+" "+aMoisName[aMois]+" "+aAnneeFull+" <b>"+aHeures+"h"+aMinutes+"</b> "+aSecondes+"."+aMillisecondes+"</font>"
document.all.azerty.innerHTML="<font color='green'>Décalage "+Heuremoin+"h"+Minutemoin+"</font>"
/////////////////////////////////////////
if(OK==1)
setTimeout('ART(new Date(),KK)',1)
else
go=1
}
function Change(re) {
if(ka==1)
{ OK=0;TYTY=re;
if(go==1)
{ OK=1;ART(new Date(),TYTY);go=0;ka==0;}
else setTimeout('Change(TYTY)',1);
};}
</script>
<body onLoad="GET(new Date());OK=1;ART(new Date(),13)">
<form onSubmit="return false;">
<SELECT id=select1 style="WIDTH: 460px " name=select1 onChange="ka=1;Change(this.value)">
<OPTION value=0>(GMT -12:00) Eniwetok, Kwajalein</OPTION>
<OPTION value=1>(GMT -11:00) Îles Midway, Samoa</OPTION>
<OPTION value=2>(GMT -10:00) Hawaii</OPTION>
<OPTION value=3>(GMT -9:00) Alaska</OPTION>
<OPTION value=4>(GMT -8:00) Pacifique (USA et Canada); Tijuana</OPTION>
<OPTION value=5>(GMT -7:00) Arizone</OPTION>
<OPTION value=5>(GMT -7:00) Montagne (USA et Canada)</OPTION>
<OPTION value=6>(GMT -6:00) Central (USA et Canada</OPTION>
<OPTION value=6>(GMT -6:00) Mexico, Tegucigalpa</OPTION>
<OPTION value=6>(GMT -6:00) Saskatchewan</OPTION>
<OPTION value=7>(GMT -5:00) Bogota, Lima, Quito</OPTION>
<OPTION value=7>(GMT -5:00) Est (USA et Canada)</OPTION>
<OPTION value=7>(GMT -5:00) Indiana (Est)</OPTION>
<OPTION value=8>(GMT -4:00) Caracas, La Paz</OPTION>
<OPTION value=8>(GMT -4:00) Heure Atlantique (Canada)</OPTION>
<OPTION value=8>(GMT -4:00) Santiago</OPTION>
<OPTION value=9>(GMT -3:30) Terre-Neuve</OPTION>
<OPTION value=10>(GMT -3:00) Buenos Aires, Georgetown</OPTION>
<OPTION value=11>(GMT -2:00) Centre-Atlantique</OPTION>
<OPTION value=12>(GMT -1:00) Les Açores, Îles du Cap Vert</OPTION>
<OPTION value=13>(GMT =0:00) Casablanca, Monrovia</OPTION>
<OPTION value=13 selected>(GMT =0:00) Heure de Greenwich; Dublin, Edimbourg, Lisbonne, Londres</OPTION>
<OPTION value=14>(GMT +1:00) Amsterdam, Berlin, Berne, Rome, Stockholm, Vienne</OPTION>
<OPTION value=14>(GMT +1:00) Belgrade, Bratislava, Budapest, Ljublijana, Prague</OPTION>
<OPTION value=14>(GMT +1:00) Bruxelles Copenhage, Madrid, Paris</OPTION>
<OPTION value=15>(GMT +2:00) Athènes, Istanbul, Minsk</OPTION>
<OPTION value=15>(GMT +2:00) Bucarest</OPTION>
<OPTION value=15>(GMT +2:00) Harare, Pretoria</OPTION>
<OPTION value=15>(GMT +2:00) Helsinki, Riga, Tallinn</OPTION>
<OPTION value=15>(GMT +2:00) Jérusalem</OPTION>
<OPTION value=15>(GMT +2:00) Le Caire</OPTION>
<OPTION value=16>(GMT +3:00) Bagdad, Koweït, Riyad</OPTION>
<OPTION value=16>(GMT +3:00) Moscou, St. Petersbourg, Volgograd</OPTION>
<OPTION value=16>(GMT +3:00) Nairobi</OPTION>
<OPTION value=17>(GMT +3:30) Téhéran</OPTION>
<OPTION value=18>(GMT +4:00) Abu Dhabi, Muscat</OPTION>
<OPTION value=18>(GMT +4:00) Bakou, Tbilissi</OPTION>
<OPTION value=19>(GMT +4:30) Kaboul</OPTION>
<OPTION value=20>(GMT +5:00) Ekaterinbourg</OPTION>
<OPTION value=20>(GMT +5:00) Islamabad, Karachi, Tachkent</OPTION>
<OPTION value=21>(GMT +5:30) Bombay, Calcutta, Madras, New Delhi</OPTION>
<OPTION value=22>(GMT +6:00) Astana, Almaty, Dhaka</OPTION>
<OPTION value=22>(GMT +6:00) Colombo</OPTION>
<OPTION value=23>(GMT +7:00) Bangkok, Hanoi, Djakarta</OPTION>
<OPTION value=24>(GMT +8:00) Pékin, Chongqing, Hong Kong, Urumqi</OPTION>
<OPTION value=24>(GMT +8:00) Perth</OPTION>
<OPTION value=24>(GMT +8:00) Singapour</OPTION>
<OPTION value=24>(GMT +8:00) Taipeh</OPTION>
<OPTION value=25>(GMT +9:00) Osaka, Sapporo, Tokyo</OPTION>
<OPTION value=25>(GMT +9:00) Séoul</OPTION>
<OPTION value=25>(GMT +9:00) Yakoustk</OPTION>
<OPTION value=26>(GMT +9:30) Adélaïde</OPTION>
<OPTION value=26>(GMT +9:30) Darwin</OPTION>
<OPTION value=27>(GMT +10:00) Brisbane</OPTION>
<OPTION value=27>(GMT +10:00) Canberra, Melbourne, Sydney</OPTION>
<OPTION value=27>(GMT +10:00) Guam, Port Moresby</OPTION>
<OPTION value=27>(GMT +10:00) Hobart</OPTION>
<OPTION value=27>(GMT +10:00) Vladivostok</OPTION>
<OPTION value=28>(GMT +11:00) Magadan, Îles Salomon, Nouvelle Calédonie</OPTION>
<OPTION value=29>(GMT +12:00) Auckland, Wellington</OPTION>
<OPTION value=29>(GMT +12:00) Fidji, Kamtchatka, Îles Marshall</OPTION>
</SELECT>
</form>
Conclusion
J'ai pris simplement les décalage de Windows
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3 par ROMELARD Fabrice
Speaker: Bernard Ourghanlian Cette session est comme chaque jour transmise en live par BrainSonic, et j'ai donc suivi cette troisième pleinière par ce moyen sur mon iPad . Elle est dédiée comme chaque année à la mise en perspective de l'é...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE !MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE ! par Vko
Hier durant une session dédiée aux Techdays 2012, j'ai eu le plaisir d'annoncer la sortie de la Béta 2 de Mishra Reader. C'est quoi ? Pour les utilisateurs, c'est une vraie expérience de lecture de flux RSS sur Windows. Rien à voir avec les produit...
Cliquez pour lire la suite de l'article par Vko [FRAMEWORK 4] LES TASKS ET LE THREAD UI[FRAMEWORK 4] LES TASKS ET LE THREAD UI par fathi
Je viens de passer quelques temps au TechDay's et j'ai pu voir pas mal de session intéressante. Par contre une chose m'a un peu étonné lors de certaines de ces sessions qui abordaient les améliorations du framework .NET (donc le 4.5) : en gros, bea...
Cliquez pour lire la suite de l'article par fathi WORKFLOW FOUNDATION 3 A UN PIED DANS LA TOMBEWORKFLOW FOUNDATION 3 A UN PIED DANS LA TOMBE par JeremyJeanson
Depuis déjà un an, je conseille vivement les utilisateurs de Workflow Foundation 3 à migrer vers la version 4. L'information qui va suivre ne devrait donc pas trop prendre au dépourvu les personnes qui m'ont suivi. Je profite de ce poste, pour faire le re...
Cliquez pour lire la suite de l'article par JeremyJeanson TECHDAYS PARIS 2012 : NOUVELLES TENDANCES DU POSTE DE TRAVAIL - BRING YOUR OWN PCTECHDAYS PARIS 2012 : NOUVELLES TENDANCES DU POSTE DE TRAVAIL - BRING YOUR OWN PC par ROMELARD Fabrice
Speakers: Thierry Rapatout, Antoine Petit et Xavier Trebbia Cette session entre dans le cadre des RDV Décideurs des TechDays 2012, elle est liée à la consumérisation de l'IT et la mise en place du "DeskTop as a Service" dans de plus en ...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Logiciels
Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System Easy-Planning (1.0.0.1)EASY-PLANNING (1.0.0.1)Basé sur les mêmes principes que MyPlanning, Easy-Planning permet de créer des plannings sous la ... Cliquez pour télécharger Easy-Planning COLLECTOR PLUS (3.00B)COLLECTOR PLUS (3.00B)COLLECTOR PLUS version 3.00B est un logiciel utilisant une base de données alimentée par :
- L... Cliquez pour télécharger COLLECTOR PLUS PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V7.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V7.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO LettresFaciles 2011 (8.0.0.1)LETTRESFACILES 2011 (8.0.0.1)LettresFaciles est un logiciel facilitant la création et la rédaction de lettres types.
Son inte... Cliquez pour télécharger LettresFaciles 2011
|