想通过msdn知道vc++中time函数怎么使用,该如何做

想通过msdn知道vc++中time函数如何使用,该怎么做?
通过索引查到了   time   函数,可是还是不会用。请问该怎么使用msdn?

------解决方案--------------------
time这个函数下面就有例子
可以查找time32

ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.chs/dv_vccrt/html/280e00f2-2b93-4ece-94cd-e048484c6cc7.htm

------解决方案--------------------
在搜索中输入关键字也许能找到一些例子.
------解决方案--------------------
贴些代码:
CTime time;
time = CTime::GetCurrentTime();// Get the current system time
CString str_Time;
str_Time= time.Format( "%Y-%m-%d ");// convert the time to the string format

------解决方案--------------------
输入你要找的函数,很多都有例子的
以下原版复制
// crt_times.c
// compile with: /W1
// This program demonstrates these time and date functions:
// time _ftime ctime_s asctime_s
// _localtime64_s _gmtime64_s mktime _tzset
// _strtime_s _strdate_s strftime
//
// Also the global variable:
// _tzname
//

#include <time.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/timeb.h>
#include <string.h>

int main()
{
char tmpbuf[128], timebuf[26], ampm[] = "AM ";
time_t ltime;
struct _timeb tstruct;
struct tm today, gmt, xmas = { 0, 0, 12, 25, 11, 93 };
errno_t err;

// Set time zone from TZ environment variable. If TZ is not set,
// the operating system is queried to obtain the default value
// for the variable.
//
_tzset();

// Display operating system-style date and time.
_strtime_s( tmpbuf, 128 );
printf( "OS time:\t\t\t\t%s\n ", tmpbuf );
_strdate_s( tmpbuf, 128 );
printf( "OS date:\t\t\t\t%s\n ", tmpbuf );

// Get UNIX-style time and display as number and string.
time( &ltime );
printf( "Time in seconds since UTC 1/1/70:\t%ld\n ", ltime );
err = ctime_s(timebuf, 26, &ltime);
if (err)
{
printf( "ctime_s failed due to an invalid argument. ");
exit(1);
}
printf( "UNIX time and date:\t\t\t%s ", timebuf );

// Display UTC.
err = _gmtime64_s( &gmt, &ltime );
if (err)
{
printf( "_gmtime64_s failed due to an invalid argument. ");
}
err = asctime_s(timebuf, 26, &gmt);
if (err)
{
printf( "asctime_s failed due to an invalid argument. ");
exit(1);
}
printf( "Coordinated universal time:\t\t%s ", timebuf );

// Convert to time structure and adjust for PM if necessary.
err = _localtime64_s( &today, &ltime );
if (err)
{
printf( "_localtime64_s failed due to an invalid argument. ");
exit(1);
}
if( today.tm_hour > = 12 )
{
strcpy_s( ampm, sizeof(ampm), "PM " );
today.tm_hour -= 12;
}
if( today.tm_hour == 0 ) // Adjust if midnight hour.
today.tm_hour = 12;

// Convert today into an ASCII string
err = asctime_s(timebuf, 26, &today);
if (err)
{
printf( "asctime_s failed due to an invalid argument. ");
exit(1);
}

// Note how pointer addition is used to skip the first 11