summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/helpers')
-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>