// Now example
NSB.Print(new Date());
No edit summary |
No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
== Example == | == Example == | ||
< | <tabber> | ||
JavaScript= | |||
<syntaxhighlight lang="JavaScript"> | |||
// Now example | |||
NSB.Print(new Date()); | |||
</syntaxhighlight> | |||
|-| | |||
BASIC= | |||
<syntaxhighlight lang="vb.net"> | |||
' Basic | |||
Print FormatDateTime(Now) | Print FormatDateTime(Now) | ||
</ | </syntaxhighlight> | ||
</tabber> | |||
== Output == | == Output == | ||
Line 23: | Line 32: | ||
[[Category:Language Reference]] | [[Category:Language Reference]] | ||
[[Category:Date and Time]] |
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