<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Insert time only as hh:mm:ss]]></title><description><![CDATA[<p dir="auto">I have a need to insert just the time as hh:mm:ss (no date or AM/PM) + a space or - at the start of a line to record the exact time when I entered the text, so I can sync it up with pictures I took at the same time.</p>
<p dir="auto">I have already tried to create a macro that inserts the short format Date &amp; Time as 8:12 AM 2/9/2016 using TextFx Insert, and then back spacing to erase the date. But apparently the backspace code executes before the full date gets written, ending up with only 2-3 characters of the insert. Even if it worked I would only get hh:mm and not hh:mm:ss.<br />
By using 2 shortcut keys, one for time/date, the other for backspaces, I can at least get hh:mm, but not a single key macro with seconds.</p>
<p dir="auto">How do I create a macro shortcut key that will only insert hh:mm:ss+space or -?</p>
<p dir="auto">Thanks, Ron</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/11270/insert-time-only-as-hh-mm-ss</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 13:54:05 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/11270.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Feb 2016 14:30:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Insert time only as hh:mm:ss on Wed, 10 Feb 2016 20:57:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/4283">@Ron-Shaw</a></p>
<p dir="auto">I would use python script plugin and code like</p>
<pre><code>import datetime
editor.appendText(datetime.datetime.today().strftime("%H:%M:%S"))
</code></pre>
<p dir="auto">to solve this. If you want to install this plugin I would recommend to use<a href="http://sourceforge.net/projects/npppythonscript/files/Python%20Script%201.0.8.0/PythonScript_1.0.8.0.msi/download" rel="nofollow ugc"><br />
msi</a> instead of<br />
plugin manager</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/13924</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/13924</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Wed, 10 Feb 2016 20:57:46 GMT</pubDate></item></channel></rss>