<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://baripedia.org/index.php?action=history&amp;feed=atom&amp;title=Mod%C3%A8le%3ACalcul_d%27une_heure</id>
	<title>Modèle:Calcul d'une heure - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://baripedia.org/index.php?action=history&amp;feed=atom&amp;title=Mod%C3%A8le%3ACalcul_d%27une_heure"/>
	<link rel="alternate" type="text/html" href="https://baripedia.org/index.php?title=Mod%C3%A8le:Calcul_d%27une_heure&amp;action=history"/>
	<updated>2026-04-25T21:21:48Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.38.6</generator>
	<entry>
		<id>https://baripedia.org/index.php?title=Mod%C3%A8le:Calcul_d%27une_heure&amp;diff=9871&amp;oldid=prev</id>
		<title>Arthur : 1 version</title>
		<link rel="alternate" type="text/html" href="https://baripedia.org/index.php?title=Mod%C3%A8le:Calcul_d%27une_heure&amp;diff=9871&amp;oldid=prev"/>
		<updated>2014-02-18T00:19:03Z</updated>

		<summary type="html">&lt;p&gt;1 version&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;Ce modèle permet de déterminer quelle heure de la journée il serait si on ajoutait ou soustrayait une durée exprimée en heures et/ou minutes d'une première heure de la journée renseignée en paramètre.&lt;br /&gt;
&lt;br /&gt;
;Exemple&lt;br /&gt;
*Pour calculer quelle heure de la journée il sera quand 4 heures et 45 minutes se seront écoulées à partir de 21 h 45, on spécifie &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Calcul d'une heure|21|45|4|45}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; et on obtient &amp;lt;code&amp;gt;{{Calcul d'une heure|21|45|4|45}}&amp;lt;/code&amp;gt;.&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#switch: {{{format|complet}}}&lt;br /&gt;
| heures = {{#expr:trunc({{mod|{{#expr:{{{1|0}}}*60+{{{2|0}}}+{{{3|0}}}*60+{{{4|0}}}}}|1440}}/60)}}&lt;br /&gt;
| minutes = {{#expr:60*(({{mod|{{#expr:{{{1|0}}}*60+{{{2|0}}}+{{{3|0}}}*60+{{{4|0}}}}}|1440}}/60)-trunc({{mod|{{#expr:{{{1|0}}}*60+{{{2|0}}}+{{{3|0}}}*60+{{{4|0}}}}}|1440}}/60))}}&lt;br /&gt;
| complet = {{#expr:trunc({{mod|{{#expr:{{{1|0}}}*60+{{{2|0}}}+{{{3|0}}}*60+{{{4|0}}}}}|1440}}/60)}} h {{#expr:60*(({{mod|{{#expr:{{{1|0}}}*60+{{{2|0}}}+{{{3|0}}}*60+{{{4|0}}}}}|1440}}/60)-trunc({{mod|{{#expr:{{{1|0}}}*60+{{{2|0}}}+{{{3|0}}}*60+{{{4|0}}}}}|1440}}/60))}}&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;[[Catégorie:Modèle calculant une heure|Calcul d'une heure]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arthur</name></author>
	</entry>
</feed>