Location:
![](/images/right.gif)
Search - time_t
Search list
Description: 功能:计算两个time_t时间的差,返回值为double类型的秒-functions : two time_t terms of the time difference, return value to the type of double seconds
Platform: |
Size: 6557 |
Author: 王 艳 |
Hits:
Description: 采用VC++实现时钟的圆盘式显示,使用time_t time精确到秒。-using VC disc clock shown that the use time_t time precise to the second.
Platform: |
Size: 42391 |
Author: 王智 |
Hits:
Description: Lately I ve had to do a lot of work with CTime and COleDateTime object variables. They re pretty nice classes to work with but not when you re debugging and need to know their actual date-time values. The CTime class stores its value in a time_t member variable and COleDateTime uses the DATE type to keep its value. Unfortunately when we need to know what they mean in human-readable format
Platform: |
Size: 29039 |
Author: lg |
Hits:
Description: 功能:计算两个time_t时间的差,返回值为double类型的秒-functions : two time_t terms of the time difference, return value to the type of double seconds
Platform: |
Size: 198656 |
Author: 王 艳 |
Hits:
Description: Lately I ve had to do a lot of work with CTime and COleDateTime object variables. They re pretty nice classes to work with but not when you re debugging and need to know their actual date-time values. The CTime class stores its value in a time_t member variable and COleDateTime uses the DATE type to keep its value. Unfortunately when we need to know what they mean in human-readable format
Platform: |
Size: 28672 |
Author: lg |
Hits:
Description: 本程序是一个很小的工具。我们的系统中全部采用time_t作为数据库和内部的时间。但平时检查测试时经常需要查看字符串格式的时间,为此特意制作一个小工具,组内使用频率还很高。-This procedure is a small tool. Our system all use time_t as the database and the internal time. However, the test usually checks often need to check the string format of time, specially produced for this purpose a small tool, the group is also a high frequency of use.
Platform: |
Size: 177152 |
Author: 陈晓斌 |
Hits:
Description: 1970年开始大秒数到当前时间的转换,time_t到CTime-Large number of seconds since 1970 to the current time of conversion
Platform: |
Size: 244736 |
Author: www220 |
Hits:
Description: This software is a helper to learn format conversion between CTime formatted date-time and time_t long integer. time_t use number of seconds elapsed since midnight (00:00:00), January 1, 1970.
Platform: |
Size: 52224 |
Author: arf |
Hits:
Description: TurboC 提供了 time() (被定義在 <time.h> 中) 這個函式供我們取得系統時間,
當我們執行了 time(NULL) 時, 該函式便會傳回一個 time_t 型態(被定義在 <time.h> 中)
的數字, 單位是"秒", 所以我們應該先用 time_t 宣告一個變數, 來接收 time() 的傳回值:-TurboC provides the time () (is defined in the <time.h> In) This function is for us to get the system time, when we carried out time (NULL) , the function will return a time_t type (defined in the <time.h> Middle) figure, the unit is " seconds" , so we should first declare a variable to use time_t to receive time () return a value:
Platform: |
Size: 3072 |
Author: dudu |
Hits:
Description: this source code
convert the date and time to time_t
the seconds pass 1970/01/01
Platform: |
Size: 60416 |
Author: Reza Mohammadi |
Hits:
Description: 对系统时间的操作,三种数据类型:clock_t、time_t、SYSTEMTIME,三种类型下对系统时间的获取及操作。-The operation of the system time, three data types: clock_t, time_t, SYSTEMTIME, three types of access under the system time and operation.
Platform: |
Size: 3667968 |
Author: 薛元 |
Hits:
Description: 本程序实现一个叫做week(time——t year,time_t month)的通用函数,通过参数year与month将制定的任意月份的日历表显示出来-This procedure is called the realization of a week (time- t year, time_t month) general function of the parameters of year and month will develop a calendar of any month is displayed
Platform: |
Size: 1024 |
Author: huyuanyuan |
Hits:
Description: time_t converter (to / from time_t to any locale)
Platform: |
Size: 75776 |
Author: thomas.joly |
Hits:
Description: 这是一份关于time_t数据类型详细介绍及其相关时间操作函数的资料,对于熟悉时间函数的操作有很好的辅导作用。-This is a detailed description about the data types time_t time manipulation functions and related data, for those familiar with the operation of a function of time have a good counseling role.
Platform: |
Size: 49152 |
Author: aiya |
Hits:
Description: 1.程序分析:
2.程序源代码:
#include "stdio.h"
#include "conio.h"
#include "time.h"
void main()
{
time_t lt /*define a longint time varible*/
lt=time(NULL) /*system time and date*/
printf(ctime(<)) /*english format output*/
printf(asctime(localtime(<))) /*tranfer to tm*/
printf(asctime(gmtime(<))) /*tranfer to Greenwich time*/
getch()
}
-shi jiancheng xumiao shu
Platform: |
Size: 3072 |
Author: zhenxinjian |
Hits:
Description: 自己实现的日期时间类,通过调用stl中time_t来实现的,精确到秒。-The date and time to realize his class by calling the stl in time_t to achieve accurate to the second.
Platform: |
Size: 3072 |
Author: daxia |
Hits:
Description: 各种时间的转换 systemtime转time_t,FILETIME 转 time_t等-FILETIME TO TIME_T
SYSTEMTIME TO TIME_T
FILETIME TO FILETIME
Platform: |
Size: 7168 |
Author: armygan |
Hits:
Description: 用来转变time_t和yyyyMMddHHmmSS格式的时间格式的相互转化小工具-A tool used to comvert time format from time_t to yyyyMMddHHmmSS.
Platform: |
Size: 121856 |
Author: jiaqiang |
Hits:
Description: 关于CTime和time_t及整型的各种转换,闲着做着玩的,有一定的参考价值,大家批评一下。-About CTime and time_t various conversion and integer, idle doing the play, there is some reference value, we criticize.
Platform: |
Size: 38912 |
Author: Ge |
Hits:
Description: STM32实时时钟功能的标准库实现首先是bsp驱动,包括初始化函数RTC_Init()和设置时间函数RTC_Set()。
接下来就是<time.h>中的相关函数,我只实现了我认为最重要的函数
time_t time(time_t *time)
time_t mktime(struct tm *timeptr)
struct tm *gmtime(const time_t *timer)
以及辅助函数
static int getTotalDays(int year, int month, int day)
因为gmtime函数需要用到<stdlib.h>中的malloc函数,有时不希望使用该函数,所以我还实现了一个他的变体函数
UINT8 gmtime2(struct tm *time, const time_t *timer) -The standard library STM32 real time clock function to realize the first is the BSP driver, including the initialization function (RTC_Init) and set the time function RTC_Set ().
The next is the correlation function in the <time.h>, I just realized I think the most important function of the
Time_t time (time_t*time)
Time_t mktime (struct TM*timeptr)
Struct TM*gmtime (const time_t*timer)
And the auxiliary function
Static int getTotalDays (int year, int month, int day)
Because the gmtime function need to use malloc function in <stdlib.h>, sometimes do not want to use this function, so I also realized a his variant function
UINT8 gmtime2 (struct TM*time, const time_t*timer)
Platform: |
Size: 3072 |
Author: 大鹏集成 |
Hits: