<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.geopsy.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Gptime</id>
	<title>Gptime - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.geopsy.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Gptime"/>
	<link rel="alternate" type="text/html" href="https://www.geopsy.org/wiki/index.php?title=Gptime&amp;action=history"/>
	<updated>2026-04-22T15:15:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://www.geopsy.org/wiki/index.php?title=Gptime&amp;diff=4022&amp;oldid=prev</id>
		<title>Marc at 14:14, 21 November 2022</title>
		<link rel="alternate" type="text/html" href="https://www.geopsy.org/wiki/index.php?title=Gptime&amp;diff=4022&amp;oldid=prev"/>
		<updated>2022-11-21T14:14:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:14, 21 November 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;which produces:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;which produces:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  [...]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   BEGIN 2022-11-21 12:44:00.000000 60.1 58.1 45.0 35.8 21.4 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 55 5.5 20.3  0 300 END&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   BEGIN 2022-11-21 12:44:00.000000 60.1 58.1 45.0 35.8 21.4 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 55 5.5 20.3  0 300 END&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   BEGIN 2022-11-21 12:44:10.000000 60.1 58.1 45.0 35.8 21.4 20.6  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 55 5.3 20.3  0 300 END&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   BEGIN 2022-11-21 12:44:10.000000 60.1 58.1 45.0 35.8 21.4 20.6  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 55 5.3 20.3  0 300 END&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   BEGIN 2022-11-21 12:44:20.000000 60.1 57.7 45.0 35.8 21.4 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 56 5.7 20.3  0 300 END&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   BEGIN 2022-11-21 12:44:20.000000 60.1 57.7 45.0 35.8 21.4 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 56 5.7 20.3  0 300 END&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   BEGIN 2022-11-21 12:44:30.000000 60.1 57.7 44.6 35.8 21.8 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 56 5.5 20.3  0 300 END&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   BEGIN 2022-11-21 12:44:30.000000 60.1 57.7 44.6 35.8 21.8 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 56 5.5 20.3  0 300 END&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Marc</name></author>
		
	</entry>
	<entry>
		<id>https://www.geopsy.org/wiki/index.php?title=Gptime&amp;diff=4021&amp;oldid=prev</id>
		<title>Marc: Created page with &quot;A useful utility to convert times.    echo &quot;1789-07-14 17:30:00.000&quot; | gptime -i &quot;yyyy-MM-dd hh:mm:ss.zzz&quot; -o gps-week  Run this command to know the GPS week index for the W...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.geopsy.org/wiki/index.php?title=Gptime&amp;diff=4021&amp;oldid=prev"/>
		<updated>2022-11-21T14:14:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A useful utility to convert times.    echo &amp;quot;1789-07-14 17:30:00.000&amp;quot; | gptime -i &amp;quot;yyyy-MM-dd hh:mm:ss.zzz&amp;quot; -o gps-week  Run this command to know the GPS week index for the W...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A useful utility to convert times.&lt;br /&gt;
&lt;br /&gt;
  echo &amp;quot;1789-07-14 17:30:00.000&amp;quot; | gptime -i &amp;quot;yyyy-MM-dd hh:mm:ss.zzz&amp;quot; -o gps-week&lt;br /&gt;
&lt;br /&gt;
Run this command to know the GPS week index for the [[Wikipedia:Storming_of_the_Bastille|Storming of the Bastille]]. GPS weeks are counted positively from 1980-01-06. The accepted date/time formats are listed [[Time_and_date_specification|here]] for input (option &amp;#039;-i&amp;#039;) and output (option &amp;#039;-o&amp;#039;). A documentation of all the numerous options is available by running&lt;br /&gt;
&lt;br /&gt;
  gptime -h all&lt;br /&gt;
&lt;br /&gt;
If a file named &amp;#039;solaire_20221121.dat&amp;#039; contains the following lines:&lt;br /&gt;
&lt;br /&gt;
  [...]&lt;br /&gt;
  BEGIN 1669034640 60.1 58.1 45.0 35.8 21.4 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 55 5.5 20.3  0 300 END&lt;br /&gt;
  BEGIN 1669034650 60.1 58.1 45.0 35.8 21.4 20.6  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 55 5.3 20.3  0 300 END&lt;br /&gt;
  BEGIN 1669034660 60.1 57.7 45.0 35.8 21.4 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 56 5.7 20.3  0 300 END&lt;br /&gt;
  BEGIN 1669034670 60.1 57.7 44.6 35.8 21.8 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 56 5.5 20.3  0 300 END&lt;br /&gt;
&lt;br /&gt;
The second column can be converted from &amp;#039;&amp;#039;time_t&amp;#039;&amp;#039; (number of seconds since 1970-01-01 00:00:00) to a human readable time by runnning:&lt;br /&gt;
&lt;br /&gt;
  cat solaire_20221121.dat | gptime -i time_t -c 2&lt;br /&gt;
&lt;br /&gt;
which produces:&lt;br /&gt;
&lt;br /&gt;
  BEGIN 2022-11-21 12:44:00.000000 60.1 58.1 45.0 35.8 21.4 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 55 5.5 20.3  0 300 END&lt;br /&gt;
  BEGIN 2022-11-21 12:44:10.000000 60.1 58.1 45.0 35.8 21.4 20.6  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 55 5.3 20.3  0 300 END&lt;br /&gt;
  BEGIN 2022-11-21 12:44:20.000000 60.1 57.7 45.0 35.8 21.4 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 56 5.7 20.3  0 300 END&lt;br /&gt;
  BEGIN 2022-11-21 12:44:30.000000 60.1 57.7 44.6 35.8 21.8 20.7  0 0 0 0  0 0  0 0  0 0  0 0 0  0 0 0  0 0 0 0 0  12 56 5.5 20.3  0 300 END&lt;/div&gt;</summary>
		<author><name>Marc</name></author>
		
	</entry>
</feed>