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.6 Tsetdate TOS Name: »Set date« - Set the date. Opcode: 43 Syntax: int16_t Tsetdate ( uint16_t date ); Description: The GEMDOS routine Tsetdate sets the current date. The parameter date is coded as follows: Bits Meaning 0-4 Day (1-31) 5-8 Month (1-12) 9-15 Year (0-119, 0= 1980) Note: From Blitter-TOS onwards the date 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 date format was invalid. Availability: All GEMDOS versions. Group: Date and Time See Also: Binding Tgetdate