// Now example
NSB.Print(new Date());
Now: Difference between revisions
Jump to navigation
Jump to search
(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 == |