]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FCurrentTimePlugin
Wikicreole syntax for links
[SourceForge/phpwiki.git] / pgsrc / Help%2FCurrentTimePlugin
1 Date: Sat, 24 Jan 2009 20:18:24 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 X-Rcs-Id: $Id: Help%2FCurrentTime 6355 2008-12-13 19:19:17Z vargenau $
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FCurrentTime;
6   flags=PAGE_LOCKED;
7   markup=2;
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
11 The *~CurrentTime* [[Help:WikiPlugin|plugin]] displays current time and date (when page was saved).
12
13 == Usage
14 <verbatim>
15 <?plugin CurrentTime format=xxx ?>
16 </verbatim>
17
18 == Arguments
19
20 {| class="bordered"
21 |-
22 ! Argument
23 ! Description
24 ! Default value
25 |-
26 | <b>format</b>
27 | Display format (strftime format, or 'date' or 'time')
28 | Date and time in ISO 8601:2004 format
29 |}
30
31 == Examples
32
33 <verbatim>
34 <?plugin CurrentTime ?>
35 </verbatim>
36
37 <?plugin CurrentTime ?>
38
39 <verbatim>
40 <?plugin CurrentTime format=date ?>
41 </verbatim>
42
43 <?plugin CurrentTime format=date ?>
44
45 <verbatim>
46 <?plugin CurrentTime format=time ?>
47 </verbatim>
48
49 <?plugin CurrentTime format=time ?>
50
51 <verbatim>
52 <?plugin CurrentTime format='%d %h %Y %H h %M m %S s %Z' ?>
53 </verbatim>
54
55 <?plugin CurrentTime format='%d %h %Y %H h %M m %S s %Z' ?>
56
57 == Author
58 * Marc-Etienne Vargenau, Alcatel-Lucent
59
60 == See Also
61
62 ----
63 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]