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

m (bot: correcting title)
m
Line 1: Line 1:
{{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.
+
{{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 5:
  
 
== 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>
  
Line 16: Line 19:
 
== See Also ==
 
== See Also ==
 
* {{mIRC|$asctime}}
 
* {{mIRC|$asctime}}
* [[$ctime identifier - mIRC|$asctime]]
+
* {{mirc|$ctime}}
 
* {{mIRC|$date}}
 
* {{mIRC|$date}}
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
[[Category:MIRC identifiers]]
+
[[Category:mIRC identifiers|time]]

Revision as of 16:34, 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

$time

Parameters

None

Properties

None

Examples

Echo the current time to the active window:

//echo -a $time

Compatibility

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

[Expand]
v · d · e mIRC identifier list