<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -116,6 +116,9 @@
 							$this-&gt;db-&gt;sqliteCreateFunction(&quot;YEAR&quot;, array($this, &quot;year_from_datetime&quot;), 1);
 							$this-&gt;db-&gt;sqliteCreateFunction(&quot;MONTH&quot;, array($this, &quot;month_from_datetime&quot;), 1);
 							$this-&gt;db-&gt;sqliteCreateFunction(&quot;DAY&quot;, array($this, &quot;day_from_datetime&quot;), 1);
+							$this-&gt;db-&gt;sqliteCreateFunction(&quot;HOUR&quot;, array($this, &quot;hour_from_datetime&quot;), 1);
+							$this-&gt;db-&gt;sqliteCreateFunction(&quot;MINUTE&quot;, array($this, &quot;minute_from_datetime&quot;), 1);
+							$this-&gt;db-&gt;sqliteCreateFunction(&quot;SECOND&quot;, array($this, &quot;second_from_datetime&quot;), 1);
 						} else
 							$this-&gt;db = new PDO($this-&gt;adapter.&quot;:host=&quot;.$this-&gt;host.&quot;;&quot;.((isset($this-&gt;port)) ? &quot;port=&quot;.$this-&gt;port.&quot;;&quot; : &quot;&quot;).&quot;dbname=&quot;.$this-&gt;database,
 							                    $this-&gt;username,
@@ -316,6 +319,30 @@
 		public function day_from_datetime($datetime) {
 			return when(&quot;d&quot;, $datetime);
 		}
+
+		/**
+		 * Function: hour_from_datetime
+		 * Returns the hour of a datetime.
+		 */
+		public function hour_from_datetime($datetime) {
+			return when(&quot;g&quot;, $datetime);
+		}
+
+		/**
+		 * Function: minute_from_datetime
+		 * Returns the minute of a datetime.
+		 */
+		public function minute_from_datetime($datetime) {
+			return when(&quot;i&quot;, $datetime);
+		}
+
+		/**
+		 * Function: second_from_datetime
+		 * Returns the second of a datetime.
+		 */
+		public function second_from_datetime($datetime) {
+			return when(&quot;s&quot;, $datetime);
+		}
 	}
 
 	$sql = SQL::current();</diff>
      <filename>includes/class/SQL.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e8192eb493c55f435ea537ab379cb673da515589</id>
    </parent>
  </parents>
  <author>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </author>
  <url>http://github.com/vito/chyrp/commit/0e91f8164067b11245d1cc918aab3325352f9ea2</url>
  <id>0e91f8164067b11245d1cc918aab3325352f9ea2</id>
  <committed-date>2008-08-29T17:16:35-07:00</committed-date>
  <authored-date>2008-08-29T17:16:35-07:00</authored-date>
  <message>Added HOUR, MINUTE, SECOND SQLite functions.</message>
  <tree>a79a7bbe11f941077ac852935f784187520e8c7b</tree>
  <committer>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </committer>
</commit>
