Difference between revisions of "Date"

From Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
== #date ==
+
{{header| Miscellaneous Variables|ro|Represents the local date of the computer that EasyUO is running on.
'''Miscellaneous System Variables'''
+
The format is YYMMDD, where YY is the year, MM is the month and DD is the day.}}
=== Description ===
+
{{ro}}
+
 
+
Represents the local date of the computer that EasyUO is running on.
+
 
+
The format is YYMMDD, where YY is the year, MM is the month and DD is the day.
+
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
  
if #date = 24122003
+
if #date = 031225
 
{
 
{
 
   event SysMessage Merry christmas!
 
   event SysMessage Merry christmas!
Line 19: Line 13:
  
 
</pre>
 
</pre>
==== See Also ====
+
 
{|
+
=See Also=
| Width=200px | [[Var_time|&#0035;time]] || Width=200px | [[Var_sysTime|&#0035;sysTime]] || Width=200px | [[Var_sCnt|&#0035;sCnt]] || Width=200px | [[Var_sCnt2|&#0035;sCnt2]]
+
{{Miscellaneous Variables}}
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Miscellaneous_Variables|Miscellaneous System Variables]]
+
|}
+

Latest revision as of 09:10, 13 September 2007

Represents the local date of the computer that EasyUO is running on.

The format is YYMMDD, where YY is the year, MM is the month and DD is the day.

Example


if #date = 031225
{
  event SysMessage Merry christmas!
  pause
}

See Also

Miscellaneous Variables

  • These system variables are not easily categorized in any other category, and therefore are placed here.
#shard Returns which shard you are logged into
#date Returns the local date on your computer
#time Returns the local time on your computer
#sysTime Counts the number of milliseconds since 01/Jan/1980 UTC
#sCnt Timer in seconds since Windows boot
#sCnt2 Timer in tenths of seconds since Windows boot
#pixCol Returns the color of the pixel last saved with savePix
#cursorX Returns the x-coordinate of the cursor
#cursorY Returns the y-coordinate of the cursor
#random Holds a random number
#dispRes Returns button clicked in last call to display
#lShard Set the last shard of your choice
#osVer Returns the OS version
#euoVer Returns the current EasyUO version