Now: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
JwellsNB (talk | contribs)
Add javascript snippet
Line 5: Line 5:
Now returns the current date and time according to the date and time setting of your computer.
Now returns the current date and time according to the date and time setting of your computer.


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


<pre>
<pre>
Rem Now example
Rem Now example
Print FormatDateTime(Now)
Print FormatDateTime(Now)
</pre>
== Example (JavaScript) ==
<pre>
// Now example
NSB.Print(new Date());
</pre>
</pre>



Revision as of 02:44, 28 May 2013

Now

Description

Now returns the current date and time according to the date and time setting of your computer.

Example (Basic)

Rem Now example
Print FormatDateTime(Now)

Example (JavaScript)

// Now example
NSB.Print(new Date());

Output

11/11/2004 9:52:27 AM

Related Items

Date, Day, Hour, Minute, Month, Second, Time, WeekDay, Year