Back to the WFC main page

wfc_parse_iso_8601_string

$Revision: 7 $

Declaration

BOOL wfc_parse_iso_8601_string( LPCTSTR time_string, CFileTime&    the_time )
BOOL wfc_parse_iso_8601_string( LPCTSTR time_string, COleDateTime& the_time )
BOOL wfc_parse_iso_8601_string( LPCTSTR time_string, CSystemTime&  the_time )
BOOL wfc_parse_iso_8601_string( LPCTSTR time_string, CTime&        the_time )

Description

This function parses time_string and puts the results into the_time.

Example

void test_time( void )
{
   WFCTRACEINIT( TEXT( "test_time()" ) );

   CTime the_time;

   if ( wfc_parse_iso_8601_string( the_time ) == FALSE )
   {
      _tprintf( TEXT( "Can't parse\n" ) );
   }
   else
   {
      _tprintf( TEXT( "Parsed OK\n" ) );
   }

}

API's Used

wfc_get_operating_system_version_string() uses the following API's:
Copyright, 2000, Samuel R. Blackburn
$Workfile: wfc_parse_iso_8601_string.cpp $
$Modtime: 1/24/00 6:11p $