Time: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
''This function is for BASIC compatibility. It is not available in pure JavaScript projects.'' | |||
Time | |||
== Description == | |||
Time returns the current system time. | |||
== Example (Basic) == | |||
<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 24: | ||
</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) | |||
[[Category:Language Reference]] | |||
[[Category:Date and Time]] | |||
[[ | [[Category:BASIC Functions]] |
Latest revision as of 15:37, 25 March 2019
This function is for BASIC compatibility. It is not available in pure JavaScript projects.
Time
Description
Time returns the current system time.
Example (Basic)
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)