[Mediawiki-l] day of the year
Brion Vibber
brion at wikimedia.org
Wed Dec 31 16:34:41 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
david wrote:
> Hi, is there a way to obtain the day of the year in wiki pages?
>
> Like ...
> date('z');
> ... in PHP.
>
> I want a number starting from 0 through 365.
{{#time:z}}
http://www.mediawiki.org/wiki/Extension:ParserFunctions
- -- brion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklbnyEACgkQwRnhpk1wk46MjQCgoezVOZPkH9o+qVEkAMQMJiz1
VbIAoJH+y/fLAFuBaEFNiw+350JT7KFt
=zC3h
-----END PGP SIGNATURE-----
More information about the MediaWiki-l
mailing list