home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / dos / datetime.h next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  732 b   |  52 lines

  1. #ifndef DOS_DATETIME_H
  2. #define DOS_DATETIME_H
  3.  
  4. /*
  5. ** $Filename: dos/datetime.h $
  6. ** $Release: 2.04 Includes, V37.4 $
  7. ** $Revision: 36.7 $
  8. ** $Date: 90/07/12 $
  9. **
  10. ** Date and time C header for AmigaDOS
  11. **
  12. ** (C) Copyright 1989-1991 Commodore-Amiga, Inc.
  13. ** All Rights Reserved
  14. **
  15. */
  16.  
  17. #ifndef DOS_DOS_H
  18. #include "dos/dos.h"
  19. #endif
  20.  
  21.  
  22.  
  23.  
  24. struct DateTime {
  25.  struct DateStamp dat_Stamp; 
  26.  UBYTE dat_Format; 
  27.  UBYTE dat_Flags; 
  28.  UBYTE *dat_StrDay; 
  29.  UBYTE *dat_StrDate; 
  30.  UBYTE *dat_StrTime; 
  31. };
  32.  
  33.  
  34. #define LEN_DATSTRING 16
  35.  
  36.  
  37.  
  38. #define DTB_SUBST 0 
  39. #define DTF_SUBST 1
  40. #define DTB_FUTURE 1 
  41. #define DTF_FUTURE 2
  42.  
  43.  
  44.  
  45. #define FORMAT_DOS 0 
  46. #define FORMAT_INT 1 
  47. #define FORMAT_USA 2 
  48. #define FORMAT_CDN 3 
  49. #define FORMAT_MAX FORMAT_CDN
  50.  
  51. #endif 
  52.