<?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[Help with RTC block in UIFlow &#x2F; Blocks]]></title><description><![CDATA[<p dir="auto">Im looking to show the time using the RTC blocks, when I show minutes (under 10 min) the minutes show as one digit, i.e. '2', rather than '02'. Is there a way (using blocks) to show time (hours and minutes) as two sets of double digits? ie. '01:01' not '1:1'</p>
]]></description><link>https://community.m5stack.com/topic/4315/help-with-rtc-block-in-uiflow-blocks</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:43:34 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4315.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 May 2022 14:55:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help with RTC block in UIFlow &#x2F; Blocks on Wed, 25 May 2022 16:21:41 GMT]]></title><description><![CDATA[<p dir="auto">Huh ?<br />
This shows it in the format you want <img src="/assets/uploads/files/1653495528753-screenshot-2022-05-25-at-17.18.00.png" alt="0_1653495527966_Screenshot 2022-05-25 at 17.18.00.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1653495691899-img_4259-resized.jpg" alt="0_1653495684730_IMG_4259.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/17565</link><guid isPermaLink="true">https://community.m5stack.com/post/17565</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 25 May 2022 16:21:41 GMT</pubDate></item><item><title><![CDATA[Reply to Help with RTC block in UIFlow &#x2F; Blocks on Wed, 25 May 2022 12:48:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wsanders" aria-label="Profile: wsanders">@<bdi>wsanders</bdi></a> Thats awesome, thank you!</p>
<p dir="auto">I was thinking that I could use an If statement...so if the minute value was less than 10 (say), you add '0' to the front of the number, same with the hour etc.</p>
]]></description><link>https://community.m5stack.com/post/17560</link><guid isPermaLink="true">https://community.m5stack.com/post/17560</guid><dc:creator><![CDATA[iamjameshannam]]></dc:creator><pubDate>Wed, 25 May 2022 12:48:29 GMT</pubDate></item><item><title><![CDATA[Reply to Help with RTC block in UIFlow &#x2F; Blocks on Tue, 24 May 2022 21:45:42 GMT]]></title><description><![CDATA[<p dir="auto">You have to do it one character at a time, using “first letter” and “last letter”.  For example (in the if/do/else block):<img src="/assets/uploads/files/1653428552850-838f761a-6860-49e0-99bc-4b4f3a38ec39.png" alt="0_1653428551357_838F761A-6860-49E0-99BC-4B4F3A38EC39.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">In C or Python code of course you’d just use sprintf() or the equivalent.</p>
]]></description><link>https://community.m5stack.com/post/17553</link><guid isPermaLink="true">https://community.m5stack.com/post/17553</guid><dc:creator><![CDATA[wsanders]]></dc:creator><pubDate>Tue, 24 May 2022 21:45:42 GMT</pubDate></item></channel></rss>