•  Back 
  •  GEMDOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileTgetdate()
Tsettime()
Settime()
Tsetdate()                                                           GEMDOS

Syntax

WORD Tsetdate( date )
UWORD date;

Function      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()