Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
763 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: iso8601.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _ISO8601_H_
  11. #define _ISO8601_H_
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #define ISO_TIME_LENGTH 40
  16. DWORD iso8601ToFileTime(char *pszisoDate, FILETIME *pftTime, BOOL fLenient, BOOL fPartial);
  17. DWORD iso8601ToSysTime(char *pszisoDate, SYSTEMTIME *pSysTime, BOOL fLenient, BOOL fPartial);
  18. DWORD FileTimeToiso8601(FILETIME *pftTime, char *pszBuf);
  19. DWORD SysTimeToiso8601(SYSTEMTIME *pstTime, char *pszBuf);
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif // _ISO8601_H_