Time: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Brendon (talk | contribs)
No edit summary
Brendon (talk | contribs)
No edit summary
Line 1: Line 1:
TIME
Time


'''Description'''
== Description ==


TIME returns the current system time.
Time returns the current system time.


'''Example'''
== Example ==


<pre>
<pre>
REM TIME Example
Rem Time Example
'TIME returns current system time
'Time returns current system time
DIM RightNow
Dim RightNow
RightNow = TIME
RightNow = Time
PRINT "The time now is " & RightNow
Print "The time now is " & RightNow
</pre>
</pre>


'''Output'''
== Output ==


<pre>
<pre>
Line 22: Line 22:
</pre>
</pre>


'''Related Items'''
== Related Items ==


[[date|DATE]], [[day|DAY]], [[dateadd|DATEADD]], [[hour|HOUR]], [[minute|MINUTE]], [[month|MONTH]], [[now|NOW]], [[second|SECOND]], [[weekday|WEEKDAY]], [[year|YEAR]] (and many more)
[[date|DATE]], [[day|DAY]], [[dateadd|DATEADD]], [[hour|HOUR]], [[minute|MINUTE]], [[month|MONTH]], [[now|NOW]], [[second|SECOND]], [[weekday|WEEKDAY]], [[year|YEAR]] (and many more)
[[Category:Language Reference]]

Revision as of 03:54, 17 August 2012

Time

Description

Time returns the current system time.

Example

Rem Time Example
'Time returns current system time
Dim RightNow
RightNow = Time
Print "The time now is " & RightNow

Output

The time now is 10:52:44 PM
(sample time output is system dependant)

Related Items

DATE, DAY, DATEADD, HOUR, MINUTE, MONTH, NOW, SECOND, WEEKDAY, YEAR (and many more)