共用方式為


Date and Time Tasks

OverviewDetails

Use MFC classes for time and date data, or use alternatives such as C run-time functions or Win32 API functions. For more information about alternative support for time and date operations, see Time Management in the Run-Time Library Reference and in the Win32 Programmer's Reference.

and are for use in general situations. and are for use with Automation and with the MFC database classes.

What do you want to do?

Get the Time

Calculate Elapsed Time

Format Time/Date Strings