mIRC Home    About    Download    Register    News    Help

Print Thread
#14353 06/03/03 06:54 PM
Joined: Mar 2003
Posts: 2
J
j3rm Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
J
Joined: Mar 2003
Posts: 2
$asctime does not correctly return time when called like this:

$asctime(some format)

The first time I called it was at 1:03pm today, and every call after that returned 1:03pm, even when it was really 1:45pm.

$asctime with no arguments or $asctime($ctime) works correctly, but any combination with a format is incorrect. for example, $asctime($ctime,hh:mm tt) returns incorrect time.

#14354 06/03/03 07:58 PM
Joined: Jan 2003
Posts: 3
A
Self-satisified door
Offline
Self-satisified door
A
Joined: Jan 2003
Posts: 3
mm = month
nn = minutes

#14355 06/03/03 08:12 PM
Joined: Mar 2003
Posts: 2
J
j3rm Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
J
Joined: Mar 2003
Posts: 2
ahh.. duh. thanks.


Link Copied to Clipboard