From WikiChip
Difference between revisions of "mirc/identifiers/$adate"
m (Bot: Adding a template (template:mIRC identifier list)) |
Maroonbells (talk | contribs) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | '''$adate''' | + | {{mirc title|$adate Identifier}}'''$adate''' returns the current date in USA month/day/year format compared to $date returning day/month/year. |
== Synopsis == | == Synopsis == | ||
<pre>$adate</pre> | <pre>$adate</pre> | ||
− | + | * Note: Same as $date except does not support optional time/format parameters, and returns date in mm/dd/yyyy format. | |
== 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 $adate</source> | + | <source lang="mIRC">//echo -a Today in mm/dd/yyyy format is $adate - today in dd/mm/yyyy format is $date |
+ | </source> | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|3.9}} | |
− | |||
− | |||
− | |||
== See Also == | == See Also == | ||
− | + | {{collist | |
− | + | |count = 3 | |
− | + | |style = width: 60%; display: inherit; | |
− | {{mIRC | + | | |
− | + | * {{mIRC|$asctime}} | |
− | + | * {{mIRC|$date}} | |
+ | * {{mIRC|$fulldate}} | ||
+ | * {{mIRC|$time}} | ||
+ | * {{mIRC|$ctime}} | ||
+ | * {{mIRC|$gmt}} | ||
+ | * {{mIRC|$ticks}} | ||
+ | * {{mIRC|$day}} | ||
+ | * {{mIRC|$daylight}} | ||
+ | * {{mIRC|$timezone}} | ||
+ | * {{mIRC|$duration}} | ||
+ | * {{mIRC|$uptime}} | ||
+ | }} |
Latest revision as of 17:03, 22 May 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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.