// Now example
NSB.Print(new Date());
Add javascript snippet |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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 == | ||
< | <tabber> | ||
JavaScript= | |||
<syntaxhighlight lang="JavaScript"> | |||
< | |||
= | |||
// Now example | // Now example | ||
NSB.Print(new Date()); | NSB.Print(new Date()); | ||
</ | </syntaxhighlight> | ||
|-| | |||
BASIC= | |||
<syntaxhighlight lang="vb.net"> | |||
' Basic | |||
Print FormatDateTime(Now) | |||
</syntaxhighlight> | |||
</tabber> | |||
== Output == | == Output == |
Now
Now returns the current date and time according to the date and time setting of your computer.
// Now example
NSB.Print(new Date());
' Basic
Print FormatDateTime(Now)
11/11/2004 9:52:27 AM