// Now example
NSB.Print(new Date());
Created page with "NOW '''Description''' NOW returns the current date and time according to the date and time setting of your computer. '''Example''' <pre> REM NOW example PRINT FormatDateTi..." |
No edit summary |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
Now | |||
== Description == | |||
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> | |||
== Output == | |||
<pre> | <pre> | ||
Line 18: | Line 27: | ||
</pre> | </pre> | ||
== Related Items == | |||
[[date|Date]], [[day|Day]], [[hour|Hour]], [[minute|Minute]], [[month|Month]], [[second|Second]], [[time|Time]], [[weekday|WeekDay]], [[year|Year]] | |||
[[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