WikiPendium

(beta)

Tsetdate()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-137-171-56.us-east-2.compute.amazonaws.com

Tsetdate()


WORD Tsetdate( date )

UWORD date;

Tsetdate() sets the current GemDos date.

Opcode

43 (0x2B)

Availability

All GemDos versions.

Parameters

date is a bit array arranged as illustrated under Tgetdate().

Binding

	move.w  date,-(sp)
	move.w  #$2B,-(sp)
	trap    #1
	addq.l  #4,sp


Return Value

Tsetdate() returns 0 if the operation was successful or non-zero if a bad date is given.

Caveats

GemDos version 0.13 did not inform the BIOS of the date change and hence would not change the IKBD? date or the date of a battery backed-up clock.

See Also

Tgetdate(), Tsettime(), Settime()?

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]