•  Back 
  •  Date and Time 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File5.11.8  Tsettime                                                   TOS

 Name:         »Set time« - Set the time.

 Opcode:       45

 Syntax:       int16_t Tsettime ( uint16_t time );

 Description:  The GEMDOS routine Tsettime sets the time. The 
               parameter time must be coded as follows:

                Bits   Meaning

                0-4    Seconds in units of two (0-29)
                5-10   Minutes (0-59)
                11-15  Hours (0-23)

               Note: From Blitter-TOS 1.02 onwards the time is set in 
               the hardware clock as well (if present).

 Return value: A return value 0 if the setting was successful, or -1 
               if the time format was invalid.

 Availability: All GEMDOS versions.

 Group:        Date and Time

 See Also:     Binding   Tgettime