AminetAminet
Search:
84716 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/time/bootdate.lha

Mirror:Random
Showing:ppc-morphosgeneric
No screenshot available
Short:Read the system date, and print it.
Author:DJones at CardiffCyberCafe.Co.Uk (Dave Jones)
Uploader:DJones CardiffCyberCafe Co Uk (Dave Jones)
Type:util/time
Architecture:m68k-amigaos
Date:1996-04-23
Download:http://aminet.net/util/time/bootdate.lha - View contents
Readme:http://aminet.net/util/time/bootdate.readme
Downloads:5413

BootDate reads and outputs the current system date.
This can be used for version control of programs.
In your startup-sequence you have

        BootDate >ENV:CurrentDate

In your source code you then have something like..

        Dc.b    "Assembled on "
        Incbin  Env:CurrentDate
        Dc.b    0

BootDate needs at least Workbench 2.04


Contents of util/time/bootdate.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  150     176  85.2% -lh5- 08b6 Dec 11  1994 BootDate
[generic]                  517     825  62.7% -lh5- 0e79 Apr 10  1996 BootDate.Doc
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files     667    1001  66.6%            Apr 23  1996

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>