Introduction
  Publishing web pages
  RXML
  Information tags
    <accept-language>
    <accessed>
    <clientname>
    <configurl>
    <configimage>
    <countdown>
    <date>
    <file>
    <help>
    <available_languages>
    <language>
    <unavailable_language>
    <line>
    <list-tags>
    <modified>
    <number>
    <pr>
    <referrer>
    <user>
    <version>
  String tags
  Variable tags
  URL tags
  If tags
  Graphics tags
  Database tags
  LDAP
  Programming tags
  SSI tags
  Image maps
  IntraSeek
  LogView
  Templates
  Navigation
  SiteBuilder tags
  Supports system
  Security
  Appendix
 
<date> Main RXML parser

 

This tag prints the date and time.

 

Attributes

brief
Generates as brief a date as possible.

capitalize
Capitalizes the first letter of the result.

date
Shows the date only.

day=number
Adds this number of days to the current date.

hour=number
Adds this number of hours to the current date.

lang=ca es_CA hr cs nl en fi fr de hu it jp mi no pt ru sr si es sv
Used together with type=string and the part attribute to get written dates in the specified language. Available languages are ca, es_CA (Catala), hr (Croatian), cs (Czech), nl (Dutch), en (English), fi (Finnish), fr (French), de (German), hu (Hungarian), it (Italian), jp (Japanese), mi (Maori), no (Norwegian), pt (Portuguese), ru (Russian), sr (Serbian), si (Slovenian), es (Spanish) and sv (Swedish).

lower
Prints the results in lower case.

minute=number
Adds this number of minutes to the current date.

part=year month day date hour minute second yday
  • year; The year
  • month; The month
  • day; The weekday, starting with Sunday.
  • date; The number of days since the first this month.
  • hour; The number of hours since midnight.
  • minute; The number of minutes since the last full hour.
  • second; The number of seconds since the last full minute.
  • yday; The day since the first of January.

The return value of these parts are modified by both type and lang.

second=number
Adds this number of seconds to the current date.

time
Prints the time only.

type=number string roman iso discordian stardate
Specifies what type of date you want. Discordian and stardate only make a difference when not using part. Note that type=stardate has a separate companion attribute, prec, which sets the precision.

unix_time=time_t
This attribute uses the specified Unix time_t time as the starting time, instead of the current time. This is mostly useful when the <date> tag is used from a Pike-script or Roxen module.

upper
Prints the result in upper case.

 

Example


<date part=day type=string lang=de>

Dienstag