•  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-FileTgettime()
Tsetdate()
Gettime()
Tgetdate()                                                           GEMDOS

Syntax

UWORD Tgetdate( VOID )

Function      Tgetdate() returns the current GEMDOS date.

Opcode        42 (0x2A)

Availability  All GEMDOS versions.

Binding       move.w   #$2A,-(sp)
              trap     #1
              addq.l   #2,sp

Return Value  Tgetdate() returns a bit array UWORD arranged as follows:

              Bits 15-9              Bits 8-5        Bits 4-0

              Years since 1980       Month (1-12)    Date (0-31)

See Also      Tgettime(), Tsetdate(), Gettime()