| Parameters |
| Parameter: | Description: | Descrição: |
"format"
|
It defines as the date and hour will be represented.
|
Define como a data e hora será representada.
|
format="format"
|
The same as before. (ok?)
|
O memo que o anterior.
|
date="a date"
|
It indicates the date base to be formatted and added to a positive number of days (future) or negative (past). If this value is not defined, then the value it the date and current hour.
(Not implemented yet)
The input can be in the paterns:
|
Indica a data base para ser formatada e incrementada.
Se não definido o valor é a data e hora atual.
(Não implementado ainda)
A entrada pode ser nos padrões:
|
- TWiki:
2 Jul 1823
- TWiki with hora:
2 Jul 1823 - 14:15:32 (the seconds and the hyphen are optional)
- Unix integer Timestamp:
1044147759
- ISO Timestamp:
1823-07-02T14:15Z
- RCS Timestamp:
1823/07/02 14:15:32
|
incyears="#"
|
Increases year.
|
Incremententa o ano.
|
incmonths="#"
|
Increases month.
|
Incremententa o mês.
|
incdays="#"
|
Increases day.
|
Incremententa o dia.
|
inchours="#"
|
Increases hour.
|
Incremententa a hora.
|
incmins="#"
|
Increases minutes.
|
Incremententa os minutos.
|
incsecs="#"
|
Increases seconds.
|
Incremententa os segundos.
|
| Formating Variables |
| Variable: | Expanded to: | Convertida para: |
Example: |
$day |
day of month, blank padded (1..31)
|
O dia do mês.
| 2 |
$day2 |
day of month ( 01..31)
|
O dia do mês com dois digitos.
| 02 |
$mo |
month (01..12)
|
O número do mês com dois digitos.
| 07 |
$month |
abbreviated month name (Jan..Dec)
|
O nome resumido do mês em inglês.
| Jul |
$i_month |
locale's abbreviated month name (Jan..Dec)
|
O nome resumido do mês internacionalizado.
| Jul |
$lmonth |
full month name, variable length (January..December)
|
O nome extenso do mês em inglês.
| July |
$i_lmonth |
locale´s full month name, variable length (January..December)
|
O nome extenso do mês internacionalizado.
| Julho |
$year |
The 4 digit year.
|
O ano em 4 digitos.
| 1823 |
$ye |
The 2 digit year. (Care with the century...)
|
O ano em 2 digitos. (Cuidado com o século...)
| 23 |
$century |
The Century number. (Not implemented yet)
|
O número do século. (Não implentado ainda)
| 19 |
$romancentury |
The Roman Century number. (Not implemented yet)
|
O número do século em romanos. (Não implentado ainda)
| IX |
$wday |
abbreviated weekday name (Sun..Sat)
|
O nome resumido do dia da semana em inglês.
|
Wed |
$i_wday |
locale´s abbreviated weekday name (Sun..Sat)
|
O nome resumido do dia da semana internacionalizado.
|
Qua |
$lwday |
full weekday name, variable length (Sunday..Saturday)
|
O nome extenso do dia da semana em inglês.
|
Wednesday |
$i_lwday |
locale´s full weekday name, variable length (Sunday..Saturday)
|
O nome extenso do dia da semana internacionalizado.
|
Quarta-feira |
$yday |
day of year (001..366)
|
O dia do ano.
|
183 |
$hours or $hour |
hour (00..23)
|
A hora em 2 digitos
|
14 |
$minutes or $min |
minute (00..59)
|
Os minutos em 2 digitos
|
15 |
$seconds or $sec |
second (00..60)
|
Os segundos em 2 digitos
|
32 |
$iso |
Predefined format, Timestamp ISO
$year-$mo-${day2}T$hour:${min}Z
|
Formato predefinido, ISO Timestamp
$year-$mo-${day2}T$hour:${min}Z
|
1823-07-02T14:15:32Z |
$rcs |
Predefined format, Timestamp ISO
$year/$mo/$day2 $hour:$min:$sec
|
Formato predefinido, RCS Timestamp
$year/$mo/$day2 $hour:$min:$sec
|
1823/07/02 14:15:32 |
Yesterday was %DATETIME{"$lwday, $day $month $year" incdays="-1"}%.
De hoje a oito será %DATETIME{"$day de $i_lmonth" incdays="7"}%.