From WikiChip
$date Identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$date can be used to return the current date in day/month/year format.
Synopsis[edit]
$date $date(time[,format])
Parameters[edit]
- time Optional ctime number. Default when not used is the current ctime
- format Optional format letters same as $asctime
Note: This identifier has identical syntax as $asctime. The only difference is the default displayed time when no format string is used.
Example[edit]
Echo today's full date to the active window in dd/mm/yyyy format //echo -a $date Echo only the year-month for the specified ctime number //echo -a $date(1234567890,yyyy-mm)
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.