// Now example
NSB.Print(new Date());
Add javascript snippet |
No edit summary |
||
Line 4: | Line 4: | ||
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 == | |||
<tabber> | |||
JavaScript= | |||
<syntaxhighlight lang="JavaScript"> | |||
// Now example | |||
NSB.Print(new Date()); | |||
</syntaxhighlight> | |||
|-| | |||
BASIC= | |||
<syntaxhighlight lang="vb.net"> | |||
' Basic | |||
Print FormatDateTime(Now) | |||
</syntaxhighlight> | |||
</tabber> | |||
== Example (Basic) == | == Example (Basic) == |
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)
Rem Now example Print FormatDateTime(Now)
// Now example NSB.Print(new Date());
11/11/2004 9:52:27 AM