$WBTimer - system timer
Availability
$WBTimer is available for use with all WBSP commands.
Syntax
$WBTimer
$WBTimer[]
Returns
Number of seconds elapsed since midnight.
Here's an
example:
[FormFields]
WB_basename=biblio.mdb
wb_rcdset=publishers
WB_Command=Q
wb_showlogo=F
wb_order=name
wb_userdata=$wbtimer
<!--WB_BeginTemplate-->
<html>
<head>
<title>Publishers</title>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
<!--WB_BeginDetail-->
<span
style="font-family:Verdana;font-size:14px;font-weight:bold;color:#0066cc;">$wbf[Name]</span><br>
$wbsr[titles.sr]<br>
<!--WB_EndDetail-->
Processing time (seconds):$wbcalc[$wbtimer[]-$wbfn[userdata]]
</body>
</html>
After running this example, total processing time will
be displayed at the bottom of the resulting page (actual value may
wary, depending on the system performance):
Processing time (seconds):0,690000000002328