Time: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
''This function is for BASIC compatibility. It is not available in pure JavaScript projects.'' | |||
Time | Time | ||
Line 5: | Line 7: | ||
Time returns the current system time. | Time returns the current system time. | ||
== Example == | == Example (Basic) == | ||
<pre> | <pre> | ||
Line 27: | Line 29: | ||
[[Category:Language Reference]] | [[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)