Date: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Brendon (talk | contribs)
Created page with "DATE '''Description''' DATE returns the current system date. '''Example''' <pre> REM DATE Example 'DATE returns current system date DIM Today Today = DATE PRINT "Today is ..."
 
Brendon (talk | contribs)
No edit summary
Line 1: Line 1:
DATE
Date


'''Description'''
== Description ==


DATE returns the current system date.
Date returns the current system date.


'''Example'''
== Example ==


<pre>
<pre>
REM DATE Example
REM Date Example
'DATE returns current system date
'Date returns current system date
DIM Today
DIM Today
Today = DATE
Today = Date
PRINT "Today is " & Today
PRINT "Today is " & Today
</pre>
</pre>


'''Output'''
== Output ==


<pre>
<pre>
Line 22: Line 22:
</pre>
</pre>


'''Related Items'''
== Related Items ==


[[now|NOW]], [[time|TIME]]
[[now|NOW]], [[time|TIME]]
[[Category:Language Reference]]

Revision as of 20:33, 8 August 2012

Date

Description

Date returns the current system date.

Example

REM Date Example
'Date returns current system date
DIM Today
Today = Date
PRINT "Today is " & Today

Output

Today is 8/18/1998
(sample date output is system dependant)

Related Items

NOW, TIME