User avatar
Crispy
Sunhillow

Posted Tue Sep 07, 2021 10:47 am

From the very start, and up through OS 3.1, the AmigaDOS date command uses the format DD-MMM-YY, where D is the day, M is the month, and Y is the year. For example, to set the date to Halloween 2021, one would enter "date 31-Oct-21" on the command line.

Now, AmigaDOS timestamps are referenced to the date Jan. 1, 1978, which, to the Amiga, is the beginning of time. The problem here is that on Jan. 1, 2078 the date 01-Jan-78 would be interpreted by the date command as Jan 1, 1978, and not Jan. 1, 2078. The bad thing about this is that the way AmigaDOS stores timestamps internally makes them essentially future proof; with all timestamp values at maximum, the time and date will be 11:59:59 PM on Jan 20, 11761199. That's right, AmigaDOS timestamps are good for another eleven million years.

So, I have a question for those of you using Workbench 3.2. Have the Date and SetDate commands been updated so that you can enter a date in the form DD-MMM-YYYY, and if so, has the List command been updated to reflect this change?

User avatar
sikosis
Brisbane, Australia

Posted Tue Sep 07, 2021 5:09 pm

Looks like it ...
a4000-crop-2109081007-01.png





Return to “Software”