Time: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Time | |||
== Description == | |||
Time returns the current system time. | |||
== Example == | |||
<pre> | <pre> | ||
Rem Time Example | |||
' | 'Time returns current system time | ||
Dim RightNow | |||
RightNow = | RightNow = Time | ||
Print "The time now is " & RightNow | |||
</pre> | </pre> | ||
== Output == | |||
<pre> | <pre> | ||
Line 22: | Line 22: | ||
</pre> | </pre> | ||
== 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)