GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | DATE

Edit History

DATE

s = DATE

Home > Reference > Date

Returns the current date as string with format “DD/MM/YYYY”.

See DATEDMY for splitting a date-string to integers.

Example

DateString = date
datedmy DateString, d, m, y
print DateString + " -> Day: " + d + " Month: " + m + " Year: " + y
Code samples using DATE
100lines.bas   2048.bas   7gables.bas   analog clock.bas   betrayal: crows ii.bas   biorythms.bas   boing.bas   bowling7.bas   bplus paddleball.bas   btn 21.bas   checkers.bas   chess.bas   crop circles.bas   Easter_Butcher.bas   Easter_Carter.bas   easter_mallen.bas   Easter_Oudin.bas   Eliza.bas   eliza.bas   evdemo.bas   falling blocks - tetris.bas   g6 Life.bas   g_col_09.bas   g_col_pd.bas   glitter hopalong.bas   GUI RPSLS v2.bas   gui_cal.bas   hangman v2.bas   illuminati.bas  
Date
DATE   DATEDMY   DATEFMT   JULIAN   TICKS   TIME   TIMEHMS   TIMER   TIMESTAMP   WEEKDAY  
This page was last edited on Thu, 19 Oct 2023 15:15:58 +0200 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.