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 | TIMESTAMP

Edit History

TIMESTAMP

s = TIMESTAMP (filename)

Home > Reference > Date

Returns the file filename last modified date and time as a string. The returned string s has the format “YYYY-MM-DD hh:mm AM|PM”.

Example

' Create a file
open "timetest.txt" for output as #1
    print #1, 1
close #1

' Get time stamp
print timestamp("timetest.txt")     ' Output: 2023-09-03 11:36 AM
Date
DATE   DATEDMY   DATEFMT   JULIAN   TICKS   TIME   TIMEHMS   TIMER   TIMESTAMP   WEEKDAY  
This page was last edited on Mon, 4 Sep 2023 11:41:36 +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.