Logo by Nickman (anonymous IP: 3.135.190.107,2258) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (148) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4398 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
Stick this in C: and add it to your user-startup with 'run<> nil:' in front, eg. run <>nil: C:envtime s date Instructions are in the program itself: >envtime ? Usage: envtime 12/s, S/s, Date/s, mdy/s 12 = use twelve hour clock, default is off S = Display seconds, default is off Date = Display date, default is off mdy = use Month/Day/Year, default is Day/Month/Year In Workbench Prefs add '%e time' to the screen title format This program is not native, it was just a quick play with Amiblitz to see how well it was working under OS4. if anyone wants the source just PM me (Severin) on AW. History: 0.01 First public release 0.02 Added external configuration files to set the day name to whatever the user wanted (never released) 0.03 scrapped external configuration in favour of using locale and saved 5k in exe size :-) Reworked the main loop so the envvar is written as little as possible, with previous versions the envvar was written 5 times a second, now it's written once a second with the seconds option or once a minute without it. |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |