| $asctime(N,format) |
|
Restituisce
il valore di ctime in formato testo data e ora. |
|
$asctime(793947600) |
Restituisce
in formato testo il valore del tempo inserito. |
|
$asctime(hh:nn:ss) |
Restituisce
lora attuale secondo la sintassi ora:minuti:secondi. |
|
$asctime(793947600,dd/mm/yy) |
Restituisce
la data del tempo inserito. |
Gli
identificatori $time(), $date(), e $gmt() possono essere
usati con il formato che segue:
|
OGGETTO
|
FORMATO
|
RISULTATO
|
| |
|
|
|
Anno
|
yy
|
02
|
| |
yyyy
|
2002
|
|
Mese
|
m
|
1
|
| |
mm
|
01
|
| |
mmm
|
Jan
|
| |
mmmm
|
January
|
|
Giorno
|
d
|
1
|
| |
dd
|
01
|
| |
ddd
|
Mon
|
| |
dddd
|
Monday
|
|
Ora
|
h
|
5
|
| |
hh
|
05
|
| |
H
|
13
|
| |
HH
|
13
|
|
Minuto
|
n
|
1
|
| |
nn
|
01
|
|
Secondo
|
s
|
1
|
| |
ss
|
01
|
|
AM/PM
|
t
|
a/p
|
| |
tt
|
am/pm
|
| |
T
|
A/P
|
| |
TT
|
AM/PM
|
|
Ordinali
|
oo
|
Primo,secondo,
terzo (st/nd/rd/th)
|
|
Fuso
Orario
|
z
|
+0
|
| |
zz
|
+0000
|
| |
zzz
|
+0000
GMT
|
| $ctime |
|
Restituisce
il numero di secondi trascorsi dalle 00:00:00 GMT, 1
gennaio 1970, basandosi sullora
del sistema. |
| |
|
|
| $ctime(text) |
|
Restituisce
il numero di secondi trascorsi dalle 00:00:00 GMT, 1
gennaio 1970, basandosi sulla
data inserita. |
|
$ctime(January
1 1970 00:00:00) |
|
$ctime(3rd
August 1987 3:46pm) |
|
$ctime(21/4/72
1:30:37) |
|
$ctime(Wed
1998-3-27 21:16) |
| |
|
|
| $ctimer |
|
Restituisce
il nome del timer che ha avviato il rispettivo script. |
| |
|
|
| $date |
|
Restituisce
la data nel formato europeo. |
| |
|
|
| $adate |
|
Restituisce
la data nel formato USA. |
| |
|
|
| $day |
|
Restituisce
il nome del giorno corrente. |
| |
|
|
| $duration(secondi,N) |
|
Restituisce
il numero dei secondi della settimama/giorno/ ora/minuto/secondo.
Il parametro N opzionale. Se N = 2, il risultato non
include il secondo valore. |
|
|
|
|
| $fulldate |
|
Restituisce
la data nel formato: Wed Jun 26 21:41:02 2002 |
| |
|
|
| $gmt |
|
Restituisce
il tempo del valore corrente GMT nel formato $ctime |
| |
|
|
| $idle |
|
Restituisce
il tempo di idle come quello restituito da ctcp userinfo
e finger. |
| |
|
|
| $ltimer |
|
Restituisce
il numero dellultimo timer. |
| |
|
|
| $online |
|
Restituisce
il numero di secondi trascorsi sul timer di online. |
| |
|
|
| $ticks |
|
Restituisce
il numero di ticks (colpi di orologio interno) dall'avvio
del S/O. |
| |
|
|
| $time |
|
Restituisce
lora attuale nel formato ora:minuto:secondo |
| $uptime(mirc
| server | system, N) |
Restituito
in millisecondi. N opzionale:N = 1 Viene restituito
come nel formato $duration(),N = 2 Come sopra ma senza
secondi,N = 3 Viene restituito in secondi e non in millisecondi |
| $timer(N/name) |
Restituisce
lid del N timer nella lista dei timers. Si pu specificare
o il numero del timer, o il nome;
questo identificatore lavora col comando /timer.Propriet:
com, time, reps, delay, type, secs, mmt.
|
| |
|
|
|
$timer(0) |
Restituisce
il numero dei timer attivi |
|
$timer(1) |
Restituisce
lid del primo timer della lista. |
|
$timer(1).com |
Restituisce
il comando del primo timer della lista. |
|
$timer(3).type |
Restituisce
lo stato online/offline per il terzo timer della lista. |
|
$timer(3).secs |
Restituisce
i secondi rimasti allavvio del timer. |
|
$timer(3).mmt |
Restituisce
$true se il timer un multimedia timer. |
| |
|
|
| $timestamp |
|
Restituisce
lora corrente nel formato [xx:xx] |
| |
|
|
| $timezone |
|
Restituisce
in secondi il fuso orario. |
| |
|
|
|