1 #ifndef DOS_DATETIME_H 2 #define DOS_DATETIME_H 3 4 /* 5 dos.library date/time include 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef DOS_DOS_H 11 # include <dos/dos.h> 12 #endif 13 14 #pragma pack(2) 15 16 17 struct DateTime 18 { 19 struct DateStamp dat_Stamp; 20 UBYTE dat_Format; 21 UBYTE dat_Flags; 22 UBYTE *dat_StrDay; 23 UBYTE *dat_StrDate; 24 UBYTE *dat_StrTime; 25 }; 26 27 28 #define LEN_DATSTRING 16 29 30 31 #define DTB_SUBST 0 32 #define DTF_SUBST (1<<DTB_SUBST) 33 #define DTB_FUTURE 1 34 #define DTF_FUTURE (1<<DTB_FUTURE) 35 36 37 #define FORMAT_DOS 0 38 #define FORMAT_INT 1 39 #define FORMAT_USA 2 40 #define FORMAT_CDN 3 41 #define FORMAT_MAX FORMAT_CDN 42 #define FORMAT_DEF 4 43 44 45 #pragma pack() 46 47 #endif /* DOS_DATETIME_H */