<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Insert Time/Date</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/a50c6c37/</link><description>Recent posts to Insert Time/Date</description><atom:link href="https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/a50c6c37/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 24 Jun 2015 07:18:22 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/a50c6c37/feed.rss" rel="self" type="application/rss+xml"/><item><title>Insert Time/Date</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/a50c6c37/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This script inserts the time &amp;amp; date in any format you want (just modify the code below), similar to pressing F5 in Notepad.&lt;/p&gt;
&lt;p&gt;Code:&lt;br /&gt;
:::python&lt;br /&gt;
import time&lt;br /&gt;
editor.addText(time.strftime('%Y-%m-%d %I:%M %p'))&lt;/p&gt;
&lt;p&gt;Credit goes to Oliver Baty from his article posted here:&lt;br /&gt;
&lt;a href="https://ardamis.com/2014/03/09/adding-an-insert-datestamp-or-timestamp-macro-to-notepad-plus-plus" rel="nofollow"&gt;https://ardamis.com/2014/03/09/adding-an-insert-datestamp-or-timestamp-macro-to-notepad-plus-plus/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">l0basetom</dc:creator><pubDate>Wed, 24 Jun 2015 07:18:22 -0000</pubDate><guid>https://sourceforge.netf658107a3c5896c402f0b8ced6c2ca6358069ef9</guid></item></channel></rss>