<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=ProcessWire_-_InputfieldTime</id>
	<title>ProcessWire - InputfieldTime - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=ProcessWire_-_InputfieldTime"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_InputfieldTime&amp;action=history"/>
	<updated>2026-05-06T17:01:00Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikizone</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_InputfieldTime&amp;diff=23357&amp;oldid=prev</id>
		<title>109.193.234.155: Die Seite wurde neu angelegt: „FieldtypeTime &amp; InputfieldTime Modules for ProcessWire that allow easy input of times in various formats. The value is stored in the DB as an SQL timefield wit…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_InputfieldTime&amp;diff=23357&amp;oldid=prev"/>
		<updated>2018-10-08T08:56:49Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „FieldtypeTime &amp;amp; InputfieldTime Modules for ProcessWire that allow easy input of times in various formats. The value is stored in the DB as an SQL timefield wit…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;FieldtypeTime &amp;amp; InputfieldTime&lt;br /&gt;
Modules for ProcessWire that allow easy input of times in various formats. The value is stored in the DB as an SQL timefield with values between about +800:00:00 and -800:00:00 but the display and input format can be chosen by the user.&lt;br /&gt;
Custom Inputfield um eine Zeit zu speichern.&lt;br /&gt;
&lt;br /&gt;
http://modules.processwire.com/modules/inputfield-time/&lt;br /&gt;
&lt;br /&gt;
Supported Input/Display formats&lt;br /&gt;
The following input and display formats are supported.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;#039;HH24&amp;#039; Hours (0-24)&lt;br /&gt;
&amp;#039;HH24MM&amp;#039; Hours (0-24) &amp;amp; minutes (00-59)&lt;br /&gt;
&amp;#039;HH24MMSS&amp;#039; Hours (0-24), minutes (00-59) &amp;amp; seconds (00-59)&lt;br /&gt;
&amp;#039;HHH&amp;#039; Hours (Integer 0-800)&lt;br /&gt;
&amp;#039;HHHMM&amp;#039; Hours (0-800) &amp;amp; minutes (00-59)&lt;br /&gt;
&amp;#039;HHHMMSS&amp;#039; Hours (0-800), minutes (00-59) &amp;amp; seconds (00-59)&lt;br /&gt;
&amp;#039;MMM&amp;#039; Minutes (Integer)&lt;br /&gt;
&amp;#039;SSS&amp;#039; Seconds (Integer)&lt;br /&gt;
&amp;#039;MMSS&amp;#039; Minutes (00-59) &amp;amp; seconds (00-59).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The fieldtype will use the chosen format to work out if actual input is incomplete and try to autocomplete the missingparts. For example, if you have a field setup to HH24MM and only type &amp;#039;9&amp;#039; into the Inputfield the fieldtype will assume you mean &amp;#039;09:00&amp;#039; (that is, 9 in the morning) and use that as the final value.&lt;br /&gt;
&lt;br /&gt;
You can configure if colons are to be used between parts in the displayed output. So you can choose between &amp;#039;0900&amp;#039; and&amp;#039;09:00&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Comparison in selectors&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you wish to use a formatted time in a selector then you need to have the time in your selector string use the DBformatting of &amp;#039;HH:MM:SS&amp;#039; as the comparison is done by the DB. You can use the date() function directly or you can usethe utility function formattedStringToTime()...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// For a value with Hours and Mins...&lt;br /&gt;
$selector_time_string = date(&amp;#039;H:m:00&amp;#039;, $time); // or...&lt;br /&gt;
$selector_time_string = FieldtypeTime::formattedStringToTime(date(&amp;#039;H:m&amp;#039;, $time), &amp;#039;HH24MM&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It will often be easier to work with date() directly.&lt;/div&gt;</summary>
		<author><name>109.193.234.155</name></author>
	</entry>
</feed>