•  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()
Gettime()
Tgettime()                                                           GEMDOS

Syntax

UWORD Tgettime( VOID )

Function      Tgettime() returns the GEMDOS system time.

Opcode        44 (0x2C)

Availability  All GEMDOS versions.

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

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

              Bits 15-11      Bits 10-5              Bits 4-0

              Hour (0-23)     Minute (0 to 59)       Secs/2 (0 to 29)

See Also      Tgetdate(), Tsettime(), Gettime()