Hi, I think a more suitable way would be to check for the default date (1st Jan 1980 iirc) and if it is that date request a new date :)
-Ed EdzUp On Tue, 30 Jan 2024, 12:00 Jürgen Wondzinski via Freedos-user, < freedos-user@lists.sourceforge.net> wrote: > Hi all, > > I'm currently facing some users which seem to have a bad BIOS battery and > therefor aren't using the current date. > Those users aren't even noticing that wrong date on their printed invoices > of that day... > > Is there a simple way to check from Autoexec/FDAUTO for the year of the > date, and if lower than 2024 prompt for a correct setting? > > Thanks! > > > > > > > _______________________________________________ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user >
_______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user