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

 
Line 1: Line 1:
{{mirc title|$adate Identifier}}'''$adate''' can be used to return the current date in US month/day/year format compared to $date returning day/month/year.
+
{{mirc title|$adate Identifier}}'''$adate''' returns the current date in USA month/day/year format compared to $date returning day/month/year.
  
 
== Synopsis ==
 
== Synopsis ==
Line 6: Line 6:
 
== Parameters ==
 
== Parameters ==
 
None
 
None
 
 
== Example ==
 
== Example ==
 
'''Echo the current date to the active window'''
 
'''Echo the current date to the active window'''
 
<source lang="mIRC">//echo -a Today in mm/dd/yyyy format is $adate - today in dd/mm/yyyy format is $date
 
<source lang="mIRC">//echo -a Today in mm/dd/yyyy format is $adate - today in dd/mm/yyyy format is $date
 
 
 
</source>
 
</source>
  
 
== Compatibility ==
 
== Compatibility ==
 
{{mIRC compatibility|3.9}}
 
{{mIRC compatibility|3.9}}
 
 
== See Also ==
 
== See Also ==
 
{{collist
 
{{collist
Line 24: Line 20:
 
* {{mIRC|$asctime}}
 
* {{mIRC|$asctime}}
 
* {{mIRC|$date}}
 
* {{mIRC|$date}}
* {{mIRC|$adate}}
+
* {{mIRC|$fulldate}}
 
* {{mIRC|$time}}
 
* {{mIRC|$time}}
 
* {{mIRC|$ctime}}
 
* {{mIRC|$ctime}}

Latest revision as of 18:03, 22 May 2018

$adate returns the current date in USA month/day/year format compared to $date returning day/month/year.

Synopsis[edit]

$adate
  • Note: Same as $date except does not support optional time/format parameters, and returns date in mm/dd/yyyy format.

Parameters[edit]

None

Example[edit]

Echo the current date to the active window

//echo -a Today in mm/dd/yyyy format is $adate - today in dd/mm/yyyy format is $date

Compatibility[edit]

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

See Also[edit]