<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Сравнение даты]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=14765</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14765&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Сравнение даты».]]></description>
		<lastBuildDate>Thu, 09 May 2019 12:41:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Сравнение даты]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=134249#p134249</link>
			<description><![CDATA[<p>Не знаю, что такое chr(8206). Попробуйте так:</p><div class="codebox"><pre><code>RegExMatch(neww, &quot;(\d\d)\D*(\d\d)\D*(\d{4})\D*(\d\d)\D*(\d\d)\D*(\d\d)&quot;, t)
time1 := t3 . t2 . t1 . t4 . t5 . t6
MsgBox % time1</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Thu, 09 May 2019 12:41:15 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=134249#p134249</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сравнение даты]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=134237#p134237</link>
			<description><![CDATA[<div class="codebox"><pre><code>
neww := StrReplace(ie.document.getElementsByTagName(&quot;div&quot;)[38].getElementsByTagName(&quot;span&quot;)[0].innerText, chr(8206))
RegExMatch(neww, &quot;^(..)\.(..)\.(....)\s(..):(..):(..)$&quot;, t)
time1 := t3 . t2 . t1 . t4 . t5 . t6
MsgBox % time1
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Thu, 09 May 2019 11:05:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=134237#p134237</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сравнение даты]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=134228#p134228</link>
			<description><![CDATA[<p><strong>teadrinker</strong></p><p>Ссылку, к сожалению не могу дать, так как это локальный ресурс. </p><div class="codebox"><pre><code>&lt;span data-bind=&quot;text: (new Date(parseInt($data.RegistrationDate.substr(6)))).toLocaleString()&quot;&gt;08.05.2019 14:35:28&lt;/span&gt;</code></pre></div><div class="codebox"><pre><code>
neww := ie.document.getElementsByTagName(&quot;div&quot;)[38].getElementsByTagName(&quot;span&quot;)[0].innerText
Clipboard := neww
</code></pre></div><p>Вот результат - &quot;08.05.2019 14:35:28&quot;</p><div class="codebox"><pre><code>
RegExMatch(neww, &quot;^(..)\.(..)\.(....)\s(..):(..):(..)$&quot;, t)
time1 := t3 . t2 . t1 . t4 . t5 . t6
MsgBox % time1
</code></pre></div><p>MsgBox выдаёт пустое окно!</p>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Thu, 09 May 2019 08:27:06 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=134228#p134228</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сравнение даты]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=134227#p134227</link>
			<description><![CDATA[<p>Мало что понял. Сохраняйте скрипты в UTF-8 с BOM, тогда не будет вопросиков. Чтобы разобраться, что там у вас в переменной, нужна ссылка на страницу.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Thu, 09 May 2019 08:10:37 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=134227#p134227</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сравнение даты]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=134223#p134223</link>
			<description><![CDATA[<p><strong>teadrinker</strong></p><p>Timestring это переменная из &quot;ie.document.getElementsByTagName(&quot;div&quot;)[38].getElementsByTagName(&quot;span&quot;)[0].innerText&quot;, если её вставляю в блокнот, то получается &quot;08.05.2019 15:11:00&quot; и </p><div class="codebox"><pre><code>RegExMatch(Timestring, &quot;^(..)\.(..)\.(....)\s(..):(..):(..)$&quot;, t)</code></pre></div><p> по идеи должен работать, но если я вставляю переменную Timestring в SciTE4AHK, то получается &quot;?08?.?05?.?2019? ?15?:?11?:?00&quot;, но </p><div class="codebox"><pre><code>RegExMatch(Timestring, &quot;^\?(..)\?\.\?(..)\?\.\?(....)\?\s\?(..)\?:\?(..)\?:\?(..)$&quot;, t)</code></pre></div><p> не работает.</p>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Thu, 09 May 2019 06:46:58 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=134223#p134223</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сравнение даты]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=134135#p134135</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />Спасибо большое!!</p>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Wed, 08 May 2019 18:11:24 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=134135#p134135</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сравнение даты]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=134132#p134132</link>
			<description><![CDATA[<p>Примерно так:<br /></p><div class="codebox"><pre><code>Timestring1 := &quot;08.05.2019, 15:11:00&quot; 
Timestring2 := &quot;08.05.2019, 15:10:30&quot;
Loop 2 {
   RegExMatch(Timestring%A_Index%, &quot;^(..)\.(..)\.(....),\s(..):(..):(..)$&quot;, t)
   time%A_Index% := t3 . t2 . t1 . t4 . t5 . t6
}
time1 -= time2, s
MsgBox, % time1</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 08 May 2019 16:20:59 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=134132#p134132</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Сравнение даты]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=134127#p134127</link>
			<description><![CDATA[<p>Добрый день! Подскажите пож-та, как сравнить две даты (формат dd.MM.yyyy, HH:mm:ss)&nbsp; , если, например, Timestring1 &gt; Timestring2&nbsp; на 30 секунд , то....&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Заранее спасибо!</p><br /><div class="codebox"><pre><code>

Timestring1 := &quot;08.05.2019, 15:11:00&quot; 

Timestring2 := &quot;08.05.2019, 15:10:30&quot; 




</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Wed, 08 May 2019 15:42:43 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=134127#p134127</guid>
		</item>
	</channel>
</rss>
