<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; как преобразовать время из локального в UTC?]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=12380&amp;type=atom" />
	<updated>2011-03-30T10:57:49Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=12380</id>
		<entry>
			<title type="html"><![CDATA[Re: как преобразовать время из локального в UTC?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=162679#p162679" />
			<content type="html"><![CDATA[<p>У меня так сделано:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">ln -s /usr/share/zoneinfo/Europe/Moscow /etc/localtime</div><br />Файл /etc/conf.d/clock отсутствует, но есть /etc/conf.d/hwclock<br />и в нем не указан TIMEZONE. Но у меня OpenRC. Я давно уже на него перешел.</p>]]></content>
			<author>
				<name><![CDATA[bobr]]></name>
				<uri>https://linuxforum.ru/profile.php?id=797</uri>
			</author>
			<updated>2011-03-30T10:57:49Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=162679#p162679</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: как преобразовать время из локального в UTC?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=162651#p162651" />
			<content type="html"><![CDATA[<p>Еще бы конечно лучше бы в для каждой проблемы создавали свою тему а то смотришь разбивка диска а там про время вобще уже идет</p>]]></content>
			<author>
				<name><![CDATA[tyrnov]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12385</uri>
			</author>
			<updated>2011-03-30T10:04:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=162651#p162651</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: как преобразовать время из локального в UTC?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=162644#p162644" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>/etc/conf.d/clock</p></blockquote></div><p>так и есть<br />однако врет-с!<br />попробую галку в virtual box снять</p>]]></content>
			<author>
				<name><![CDATA[Termo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4469</uri>
			</author>
			<updated>2011-03-30T10:00:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=162644#p162644</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: как преобразовать время из локального в UTC?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=162634#p162634" />
			<content type="html"><![CDATA[<p><a href="http://otvety.google.ru/otvety/thread?tid=368394e1414d2985">http://otvety.google.ru/otvety/thread?t … e1414d2985</a> Попробуй как тут Ну да или как написал Lupo Alberto</p>]]></content>
			<author>
				<name><![CDATA[tyrnov]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12385</uri>
			</author>
			<updated>2011-03-30T09:49:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=162634#p162634</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: как преобразовать время из локального в UTC?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=162631#p162631" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Termo пишет:</cite><blockquote><p>а как преобразовать время из локального в UTC?<br />неправильно показывает часы&nbsp; <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p></blockquote></div><p>Примерно так:<br /><strong>/etc/conf.d/clock</strong><br /></p><div class="codebox"><pre><code># Set CLOCK to &quot;UTC&quot; if your hardware clock is set to UTC (also known as
# Greenwich Mean Time).  If that clock is set to the local time, then 
# set CLOCK to &quot;local&quot;.
# Note that if you dual boot with Windows, then you should set it to
# &quot;local&quot; because Windows always sets the hardware clock to local time.

CLOCK=&quot;UTC&quot;

# Select the proper timezone.  For valid values, peek inside of the
# /usr/share/zoneinfo/ directory.  For example, some common values are
# &quot;America/New_York&quot; or &quot;EST5EDT&quot; or &quot;Europe/Berlin&quot;.  If you want to
# manage /etc/localtime yourself, set this to &quot;&quot;.

TIMEZONE=&quot;Europe/Minsk&quot;

# If you wish to pass any other arguments to hwclock during bootup, 
# you may do so here.

CLOCK_OPTS=&quot;&quot;

# If you want to set the Hardware Clock to the current System Time (software
# clock) during shutdown, then say &quot;yes&quot; here.

CLOCK_SYSTOHC=&quot;yes&quot;


### ALPHA SPECIFIC OPTIONS ###

# If your alpha uses the SRM console, set this to &quot;yes&quot;.
SRM=&quot;no&quot;

# If your alpha uses the ARC console, set this to &quot;yes&quot;.
ARC=&quot;no&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-03-30T09:43:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=162631#p162631</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[как преобразовать время из локального в UTC?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=162606#p162606" />
			<content type="html"><![CDATA[<p>а как преобразовать время из локального в UTC?<br />неправильно показывает часы&nbsp; <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></content>
			<author>
				<name><![CDATA[Termo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4469</uri>
			</author>
			<updated>2011-03-30T09:19:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=162606#p162606</id>
		</entry>
</feed>
