Time: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
 
(5 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
Time


Line 5: Line 7:
Time returns the current system time.
Time returns the current system time.


== Example ==
== Example (Basic) ==


<pre>
<pre>
Line 24: Line 26:
== 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]]
[[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)