summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-05-15 20:32:15 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-05-15 20:32:15 +0200
commit66c474d848907bb91c316e9acbbcaba6a2591032 (patch)
treeea2512aa5b3142ec0e2c1c38f50f5f5dd8f3fde1
parentd9d379c1b4d674ed16edaf8167cc8f5f65becc86 (diff)
date examples
-rw-r--r--user_guide/helpers/date_helper.html72
1 files changed, 57 insertions, 15 deletions
diff --git a/user_guide/helpers/date_helper.html b/user_guide/helpers/date_helper.html
index c9bed6c29..ae19f6074 100644
--- a/user_guide/helpers/date_helper.html
+++ b/user_guide/helpers/date_helper.html
@@ -110,21 +110,63 @@ echo standard_date($format, $time);
<p>Supported formats:</p>
-<ul>
-<li>DATE_ATOM</li>
-<li>DATE_COOKIE</li>
-<li>DATE_ISO8601</li>
-<li>DATE_RFC822</li>
-<li>DATE_RFC850</li>
-<li>DATE_RFC1036</li>
-<li>DATE_RFC1123</li>
-<li>DATE_RFC2822</li>
-<li>DATE_RSS</li>
-<li>DATE_W3C</li>
-</ul>
-
-
-
+<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
+ <tr>
+ <th>Constant</th>
+ <th>Description</th>
+ <th>Example</th>
+ </tr>
+ <tr>
+ <td>DATE_ATOM</td>
+ <td>Atom</td>
+ <td>2005-08-15T16:13:03+0000</td>
+ </tr>
+ <tr>
+ <td>DATE_COOKIE</td>
+ <td>HTTP Cookies</td>
+ <td>Sun, 14 Aug 2005 16:13:03 UTC</td>
+ </tr>
+ <tr>
+ <td>DATE_ISO8601</td>
+ <td>ISO-8601</td>
+ <td>2005-08-14T16:13:03+0000</td>
+ </tr>
+ <tr>
+ <td>DATE_RFC822</td>
+ <td>RFC 822</td>
+ <td>Sun, 14 Aug 2005 16:13:03 UTC</td>
+ </tr>
+ <tr>
+ <td>DATE_RFC850</td>
+ <td>RFC 850</td>
+ <td>Sunday, 14-Aug-05 16:13:03 UTC</td>
+ </tr>
+ <tr>
+ <td>DATE_RFC1036</td>
+ <td>RFC 1036</td>
+ <td>Sunday, 14-Aug-05 16:13:03 UTC</td>
+ </tr>
+ <tr>
+ <td>DATE_RFC1123</td>
+ <td>RFC 1123</td>
+ <td>Sun, 14 Aug 2005 16:13:03 UTC</td>
+ </tr>
+ <tr>
+ <td>DATE_RFC2822</td>
+ <td>RFC 2822</td>
+ <td>Sun, 14 Aug 2005 16:13:03 +0000</td>
+ </tr>
+ <tr>
+ <td>DATE_RSS</td>
+ <td>RSS</td>
+ <td>Sun, 14 Aug 2005 16:13:03 UTC</td>
+ </tr>
+ <tr>
+ <td>DATE_W3C</td>
+ <td>World Wide Web Consortium</td>
+ <td>2005-08-14T16:13:03+0000</td>
+ </tr>
+</table>
<h2>local_to_gmt()</h2>