Permalink
Browse files

Convert epoch value to ISO 8601 date example added.

  • Loading branch information...
1 parent 01e1fbe commit c1c74268f18bfb040364b50a254ef0fa405ec93b @racke racke committed Dec 20, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 refs/time.tag
View
@@ -248,6 +248,14 @@ __NAME__ example: ISO 8601 date suitable for MySQL datetime and PostgreSQL times
</programlisting>
__END__
+__NAME__ example: Convert epoch value to ISO 8601 date
+Time values as seconds since &glos-epoch; can be converted by passing
+the value as time attribute.
+<programlisting>
+[time time="1261306319"]%Y-%m-%d %H:%M:%S[/time]
+</programlisting>
+__END__
+
__NAME__ example: Specifying adjust= attribute in timezone format
<programlisting><![CDATA[
[time]%c[/time]

0 comments on commit c1c7426

Please sign in to comment.