Time: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
''This function is for BASIC compatibility. It is not available in pure JavaScript projects.'' | |||
Time | Time | ||
Line 13: | Line 15: | ||
RightNow = Time | RightNow = Time | ||
Print "The time now is " & RightNow | Print "The time now is " & RightNow | ||
</pre> | </pre> | ||
Line 58: | Line 31: | ||
[[Category:Date and Time]] | [[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)