IntroductionIntroduction
  Publishing web pagesPublishing web pages
  RXMLRXML
  Information tagsInformation tags
    <accept-language>accept-language<accept-language>accept-language
    <accessed>accessed<accessed>accessed
    <clientname>clientname<clientname>clientname
    <configurl>configurl<configurl>configurl
    <configimage>configimage<configimage>configimage
    <countdown>countdown<countdown>countdown
    <date>date<date>date
    <file>file<file>file
    <help>help<help>help
    <available_languages>available_languages<available_languages>available_languages
    <language>language<language>language
    <unavailable_language>unavailable_language<unavailable_language>unavailable_language
    <line>line<line>line
    <list-tags>list-tags<list-tags>list-tags
    <modified>modified<modified>modified
    <number>number<number>number
    <pr>pr<pr>pr
    <referrer>referrer<referrer>referrer
    <user>user<user>user
    <version>version<version>version
  String tagsString tags
  Variable tagsVariable tags
  URL tagsURL tags
  If tagsIf tags
  Graphics tagsGraphics tags
  Database tagsDatabase tags
  LDAPLDAP
  Programming tagsProgramming tags
  SSI tagsSSI tags
  Image mapsImage maps
  IntraSeekIntraSeek
  LogViewLogView
  TemplatesTemplates
  NavigationNavigation
  SiteBuilder tagsSiteBuilder tags
  Supports systemSupports system
  SecuritySecurity
  AppendixAppendix
 
<date> </> Main RXML parser

 

This tag prints the date and time.

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
WebLayout Templates error: Only block tag names allowed in "tmplinsertblock". Offending tag name "data".

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
WebLayout Templates error: Only block tag names allowed in "tmplinsertblock". Offending tag name "data".

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

time
Prints the time only.

type=number string roman iso discordian stardate
WebLayout Templates error: Only block tag names allowed in "tmplinsertblock". Offending tag name "data".

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.

 

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




"=> >