Path: utzoo!utgpu!jarvis.csri.toronto.edu!qucdn!leek Newsgroups: comp.sys.amiga.tech Subject: Re: Setting the Amiga system date and time Organization: Queen's University at Kingston Date: Saturday, 17 Feb 1990 02:05:59 EST From: Message-ID: <90048.020559LEEK@QUCDN.BITNET> References: <77.25d0c638@intersil.uucp> > I can read the Amiga system time with DateStamp(). > But how do I SET it? You can use the Execute() to call up Amiga DOS command - Date in your C: directory. Here is the bit and pieces of code from my own Real Time Clock... static char *DOS_CMD = "Date HH:MM:SS DD-MMM-YY"; /* your code can substitute the actual time & date into HH:MM:SS */ Execute(DOS_CMD,NULL,NULL); /* Execute the Date command to set time */ Hope this help. If you or anyone else that need more info (for a 4 chips real time clock - source code & schematic), please send me EMail. K. C. Lee P.S. I do not represent Queen's University nor any groups. (No wonder I am struck building my hardware.)