From WikiChip
Difference between revisions of "mirc/identifiers/$time"
< mirc‎ | identifiers

(Created $time identifier - mIRC)
 
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''$time''' returns the current time in hour:minute:second format. The time is returned in 24-hour clock format, not 12-hour clock format.
+
{{mirc title|$time identifier}}'''$time''' returns the current time in hour:minute:second format. The time is returned in 24-hour clock format, not 12-hour clock format.
 +
 
  
 
== Synopsis ==
 
== Synopsis ==
Line 5: Line 6:
  
 
== Parameters ==
 
== Parameters ==
 +
None
 +
 +
== Properties ==
 
None
 
None
  
 
== Examples ==
 
== Examples ==
'''Echo the current time to the active window'''
+
Echo the current time to the active window:
 
<source lang="mIRC">//echo -a $time</source>
 
<source lang="mIRC">//echo -a $time</source>
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v3.5
+
{{mIRC compatibility|3.5}}
 
 
Added On: 07/08/95
 
  
== See Also ==
+
== See also ==
* [[$asctime identifier - mIRC|$asctime]]
+
* {{mIRC|$asctime}}
* [[$ctime identifier - mIRC|$asctime]]
+
* {{mirc|$ctime}}
* [[$date identifier - mIRC|$date]]
+
* {{mIRC|$date}}
 +
{{mIRC identifier list}}
  
[[Category:mIRC identifiers]]
+
[[Category:mIRC identifiers|time]]

Latest revision as of 16:37, 22 September 2017

$time returns the current time in hour:minute:second format. The time is returned in 24-hour clock format, not 12-hour clock format.


Synopsis[edit]

$time

Parameters[edit]

None

Properties[edit]

None

Examples[edit]

Echo the current time to the active window:

//echo -a $time

Compatibility[edit]

Added: mIRC v3.5
Added on: 07 Aug 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also[edit]

[Expand]
v · d · e mIRC identifier list