filetime基友是什么意思思

1197人阅读
TimeConvert.h
// TimeConvert.h: interface for the TimeConvert class.
//@anthor:TT
//@introduction:今天由于处理一个时间,搞得焦头烂额,于是乎打算封装一个转换类,方便自己以后使用,
/*先说个概念:
Coordinated Universal Time(UTC):又称为世界标准时间;时间日00:00:00(称为UNIX系统的Epoch时间)到当前时刻的秒数。
比如,中国内地的时间与UTC的时差为+8,也就是UTC+8。
Calendar Time:日历时间,是用“从一个标准时间点到此时的时间经过的秒数”来表示的时间。对于不同的编译器,是不同的。
但是无论你在哪一个时区,在同一时刻对同一个标准时间点来说,日历时间都是一样的。
//这里面涉及了三个类型
*1.FILETIME:结构持有的64位无符号的文件的日期和时间值。此值表示自日开始的100纳秒为单位的时间。
*2.SYSTEMTIME:这个和tm有点类似,代表系统时间
*3.tm:Systemtime-1900得到tm.year,其他的还有些差别
*4.time_t:是日历时间;其值表示从CUT(Coordinated Universal Time)时间日00:00:00(称为UNIX系统的Epoch时间)
*到当前时刻的秒数。
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TIMECONVERT_H__87F35906_DBD6_46F1_BF78_2FA34FCB8409__INCLUDED_)
#define AFX_TIMECONVERT_H__87F35906_DBD6_46F1_BF78_2FA34FCB8409__INCLUDED_
#if _MSC_VER & 1000
#pragma once
#endif // _MSC_VER & 1000
#include &time.h&
#include&olectl.h.&
class TimeConvert
static void SystemTimeToFileTime(const SYSTEMTIME*pst,FILETIME *pft);
static void Time_tToFileName(time_t t,FILETIME *ft);
static void TmToTime_t(tm &_t,time_t &t);
static void Time_tToTm(time_t t,tm *_t);
static void TmToSystemTime(const tm &t,SYSTEMTIME *st);
static void SystemTimeTOTm(const SYSTEMTIME &st,tm*t);
static void FileTimeToTime_t(const FILETIME
static void Time_tToSystemTime(time_t t, SYSTEMTIME *pst);
static void FileTimeToSystemTime(const FILETIME *lpFileTime,SYSTEMTIME *lpSystemTime);
static void SystemTimeToTime_T(SYSTEMTIME *st, time_t *pt );
static void FileTimeToTm(const FILETIME *ft,tm *t);
static void TmToFileTime(tm &t,FILETIME *ft);
static void TimeFormat(char *dest,int length,const char *format,const tm*t);
TimeConvert();
virtual ~TimeConvert();
#endif // !defined(AFX_TIMECONVERT_H__87F35906_DBD6_46F1_BF78_2FA34FCB8409__INCLUDED_)
TimeConvert.cpp
// TimeConvert.cpp: implementation of the TimeConvert class.
//////////////////////////////////////////////////////////////////////
#include &TimeConvert.h&
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
TimeConvert::TimeConvert()
TimeConvert::~TimeConvert()
void TimeConvert::FileTimeToSystemTime(const FILETIME *lpFileTime,SYSTEMTIME *lpSystemTime)
::FileTimeToSystemTime(lpFileTime,lpSystemTime);
void TimeConvert::Time_tToSystemTime(time_t t, SYSTEMTIME *pst )
Time_tToFileName(t,&ft);
FileTimeToSystemTime( &ft, pst );
//另一种实现
tm *m=localtime(&t);
TmToSystemTime(*m,pst);
void TimeConvert::SystemTimeToTime_T(SYSTEMTIME *st, time_t *pt )
SystemTimeToFileTime( st, &ft);
FileTimeToTime_t(&ft,pt);
void TimeConvert::FileTimeToTime_t(const FILETIME
ULARGE_INTEGER
ui.LowPart=ft-&dwLowDateT
ui.HighPart=ft-&dwHighDateT
ll=(ft-&dwHighDateTime&&32)+ft-&dwLowDateT
*t=(DWORD)((LONGLONG)(ui.QuadPart- 000000) /);
void TimeConvert::SystemTimeTOTm(const SYSTEMTIME &st,tm*t)
tm gm= {st.wSecond, st.wMinute, st.wHour, st.wDay, st.wMonth-1, st.wYear-1900, st.wDayOfWeek, 0, 0};
memcpy(t,&gm,sizeof(tm));
TimeConvert::TmToSystemTime(const tm &t,SYSTEMTIME *st)
SYSTEMTIME s={1900 + t.tm_year,1 + t.tm_mon,t.tm_wday,t.tm_mday,t.tm_hour,t.tm_min,t.tm_sec,0};
memcpy(st,&s,sizeof(SYSTEMTIME));
void TimeConvert::Time_tToTm(time_t t,tm *_t)
tm *tt=localtime(&t);
memcpy(_t,tt,sizeof(tm));
void TimeConvert::TmToTime_t(tm &_t,time_t &t)
t=mktime(&_t);
void TimeConvert::Time_tToFileName(time_t t,FILETIME *ft)
LONGLONG ll = Int32x32To64(t, ) + 000000;
ft-&dwLowDateTime = (DWORD)
ft-&dwHighDateTime = (DWORD)(ll && 32);
void TimeConvert::FileTimeToTm(const FILETIME *ft,tm *t)
FileTimeToTime_t(ft,&tm);
Time_tToTm(tm,t);
void TimeConvert::TmToFileTime(tm &t,FILETIME *ft)
TmToTime_t(t,tm);
Time_tToFileName(tm,ft);
void TimeConvert::SystemTimeToFileTime(const SYSTEMTIME*pst,FILETIME *pft )
::SystemTimeToFileTime(pst,pft);
void TimeConvert::TimeFormat(char *dest,int length,const char *format,const tm*t)//@param:length 为dest长度-1
strftime(dest,length,format,t);
这关系太TMD乱了吧.....晕了
后记总结:
systemtime与filetime可以通过函数直接转化:FileTimeToSystemTime 和SystemTimeToFileN
tm和time_t也可以直接转化:localtime()和mktime();
其他转化需要通过中间步骤
Sytemtime和tm有些类似,可以通过加减转化(PS:画个图之后,更好理解)
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:49722次
积分:1152
积分:1152
排名:千里之外
原创:68篇
转载:16篇
(1)(1)(1)(2)(1)(10)(7)(17)(2)(15)(25)(1)(1)您当前的位置: -&
本类下载榜
总下载排行
NewFileTime 2.66 多语言绿色版
软件大小:47.0 KB
软件类型:绿色软件 - 应用软件 - 杂类工具
软件标签:
软件语言:多国语言
授权方式:免费软件
软件星级:
更新时间: 10:54:44
运行环境:WinXP/Win2003/Vista/Win7/Win8/WinALL
下载帮助:
newfiletime是一个小而有效的工具,为您提供便捷的更正和操纵时间戳记的任何文件和文件夹在您system.several文件和/或文件夹,可以派出在同一时间内,新增档案,通过简单的拖放或由进口从folder.in任何情况下,它会打开不同的方式,使其尽快这样做。您可以使档案的比例年轻或年纪较大,或有针对性的具体时间
上一软件:
下一软件:
* 本站提供的软件我们都会尽可能测试再上传,都亲自运行过,同时通过360等杀毒软件的验证,限于能力及系统等问题,无法保证所有软件都没有任何问题,如果您发现链接错误或其它问题,发email到zarong◎告诉我们,谢谢!
* 为了达到最快的下载速度,推荐使用或下载本站软件。为确保正常使用请用最新版来解压本站提供的软件!
* 为了网站可以继续发展下去,在不太影响大家的情况下还请给予点击站内广告。本站所有下载无需点击任何广告即可正常下载,由于部分是FTP下载,限制了同时连接数,因此还请使用下载工具尝试多一会连接时间。如果您发现下载链接错误,请点击谢谢!
* 站内提供的所有软件如包含破解及注册码均是由网上搜集,若无意中侵犯到您的版权利益,通知我们,我们会在收到信息一周内给予配合处理!
* 本站为非营利性站点,所有资源均是网上搜集或私下交流学习之用,任何涉及商业盈利目的均不得使用,否则产生的一切后果将由您自己承担!本站仅仅提供一个观摩学习的环境,将不对任何资源负法律责任。所有资源请在下载后24小时内删除。如果您觉得满意,请购买正版,唯有如此才能更好支持你所喜欢的软件更好发展!本站严厉谴责和鄙夷一切利用本站资源进行牟利的盗版行为!1048人阅读
基础复习(13)
时间处理时实际项目中经常碰到的问题,这里介绍最常用的时间处理函数。
首先介绍基本的时间概念。时间一般分为两种,一种是本地时间(Local Time),一种是协调世界时间( ,UTC),也就是传说中的格林威治时间。本地时间与UTC时间之间的差即为时差,比如,北京时间(东八区)比UTC时间晚8个小时。
C运行库中处理时间的函数主要是这四个:
time_t time( time_t *timer);
time_t类型为32位或64位整型,具体类型由编译系统决定。此函数用来获得从日子夜(这个时刻在不同的CRT实现中可能会不一样)到当前时刻以来所流逝的时间,以秒为单位。这个时间差叫做日历时间( )。
这是当然让我困惑的地方:这个特殊的时刻——日零时零分零秒——是指本地时间呢,还是UTC时间呢?我认为是本地时间,也就是各个时区自己的日零时零分零秒。可以设想这样一种情况,如果全球24时区各有一台电脑,都依次在自己所在时区的本地时间日零时1分零秒调用time函数,那么返回值都是60。注意,这里是依次调用(事实上是每隔1小时),而不是想象中的同时调用,这是因为相邻时区的同一本地时间,总是相差1小时。
当然,time_t型的时间方便计算机处理,但普通用户无法理解这种数字。所以我们通常需要将time_t型时间转换成我们平常所见的年月日形式。CRT中为此定义了tm结构。
struct tm {int tm_ int tm_
int tm_ int tm_
int tm_ int tm_
int tm_ int tm_
int tm_ };
注释中已详细解释了各个字段的用法。显然这个结构中的字段对用户更有意义。我们通常用localtime_s函数将time_t时间转换为tm时间。
errno_t localtime_s( struct tm* _tm,const time_t *time);
其中第二个参数为传入的time_t时间,第一个参数为返回的tm时间。由函数名可看出,返回的tm时间表示的是本地时间。当然,我们有时候也需要获得对应的UTC时间,这时我们需要gmtime函数。
errno_t gmtime_s( struct tm* _tm,const time_t* time);
后面我们会看到两者的区别。
我们知道了如何将time_t时间转换为tm时间。同样,我们会需要将tm表示的时间转换为time_t时间。这时我们需要mktime函数。
time_t mktime(
struct tm *timeptr);
此函数返回从&特殊时刻&到参数表示的时刻之间流逝的日历时间。另外还有个很好用的特性,就是它能修正传进来的tm结构中各字段的取值范围。比如,如果你将tm.tm_mon设为1,tm.tm_day设为33,然后以其为参数调用mktime函数,此函数会将tm.tm_mon修正为2,tm.tm_day修正为2。具体用法参照MSDN。
我们来分析下面示例代码:
#include &stdlib.h& #include &stdio.h& #include &time.h&
int main() { struct tm tmLocal, tmUTC;time_t tN
time(&tNow); printf(&Time Now from time(): %llu/n&, tNow);
localtime_s(&tmLocal, &tNow); printf(&Local Time(YYYY-MM-DD HH:MM:SS): %d-%d-%d %d:%d:%d/n&, tmLocal.tm_year + 1900, tmLocal.tm_mon,tmLocal.tm_mday, tmLocal.tm_hour, tmLocal.tm_min, tmLocal.tm_sec);
gmtime_s(&tmUTC, &tNow); printf(&UTC Time (YYYY-MM-DD HH:MM:SS): %d-%d-%d %d:%d:%d/n&, tmUTC.tm_year + 1900, tmUTC.tm_mon,tmUTC.tm_mday, tmUTC.tm_hour, tmUTC.tm_min, tmUTC.tm_sec); tNow = mktime(&tmLocal); printf(&Time Now from mktime(): %llu/n&, tNow);return EXIT_SUCCESS;}
输出结果如下:
上面代码中,11行time函数获得从&特殊时刻&到当前时刻的日历时间,如输出结果中的第一行显示的秒。
14行localtime_s函数将日历时间转换为本地tm时间,如输出结果第二行。
18行gmtime_s函数将将日历时间转换为对应的UTC的tm时间,如输出结果第三行显示。很容易看出,第二,三行输出的时间相差8小时,因为我在东八区。如果你修改自己电脑的时区(在控制面板的Date and Time中修改),再运行此程序,比较两次的运行结果,你就可以更好的理解了。
22行mktime函数将tm时间转换为日历时间,输出结果中第四行显示的结果与第一行一样,这是必须的。。。
//-----------------------------------------------------------------------------------------------------------------------------------------
上文中介绍了C运行库中的时间处理函数。这一篇介绍Windows SDk中提供的时间函数。两种时间系统之间没有本质区别(事实上CRT时间是用Windows时间实现的,当然这是说的VC实现),同样提供本地时间和UTC时间之间的转换。不过CRT中的tm时间在SDK中对应为系统时间(SYSTEMTIME),CRT中的time_t时间在SDK中对应的为文件时间(FILETIME),那个&特殊时刻&也变成日的子夜。
当然,首先要弄清楚FILETIME与SYSTEMTIME定义。
typedef struct _FILETIME {DWORD dwLowDateT
DWORD dwHighDateT} FILETIME, *PFILETIME; typedef struct _SYSTEMTIME {WORD wY WORD wM
WORD wDayOfW WORD wD
WORD wH WORD wM
WORD wS WORD wM} SYSTEMTIME, *PSYSTEMTIME;
比较一下,很明显,FILETIME与time_t类似,是64位整型,不过FILETIME是以100纳秒(ns)为单位。SYSTEMTIME与tm类似,不过多了一项wMilliseconds。可以看出,SDK时间比CRT的时间提供了更高的精度。同时SDK提供了更丰富的函数来处理时间。
void GetSystemTime(
LPSYSTEMTIME lpSystemTime); void GetLocalTime(LPSYSTEMTIME lpSystemTime);
这两个函数获得SYSTEMTIME形式的当前时间,不过GetSystemTime函数获得当前的UTC时间,GetLocalTime获得当前的本地时间,可以想象,获得的两个时间存在着时差。类似于CRT中提供tm与time_t之间的转换,SDK也提供了两个函数来转换SYSTEMTIME时间与FILETIME时间。
BOOL SystemTimeToFileTime(const SYSTEMTIME* lpSystemTime,LPFILETIME lpFileTime); BOOL FileTimeToSystemTime(
const FILETIME* lpFileTime,LPSYSTEMTIME lpSystemTime);
函数命名很self-explanatory,就不用多说了吧。
SDK还提供了两个很有趣的函数。
BOOL LocalFileTimeToFileTime(const FILETIME* lpLocalFileTime,LPFILETIME lpFileTime); BOOL FileTimeToLocalFileTime(const FILETIME* lpFileTime,LPFILETIME lpLocalFileTime);
LocalFileTimeToFileTime函数将本地的FILETIME时间转换为对应的UTC的FILETIME时间。我觉得,这个函数只是通过将本地时间减去与UTC时间的时间差来实现转换,比如在东八区的本地时间转换为对应的UTC时间,只需要将本地时间减去8*60*60*(单位100ns)。类似,FileTimeToLocalFileTime函数是将UTC时间转换为本地时间,它只是将减去时间差换成加上时间差。
了解了这些功能,让我们用代码说话吧。
#include &stdlib.h& #include &stdio.h& #include &time.h&
#include &windows.h& int main()
{ SYSTEMTIME stLocal, stUTC, stUTC2; FILETIME ftLocal, ftUTC, ULARGE_INTEGER GetLocalTime(&stLocal); GetSystemTime(&stUTC); printf(&Local System Time(YYYY-MM-DD HH:MM:SS): %d-%d-%d %d:%d:%d/n&, stLocal.wYear, stLocal.wMonth,stLocal.wDay, stLocal.wHour, stLocal.wMinute, stLocal.wSecond);
printf(&UTC System Time (YYYY-MM-DD HH:MM:SS): %d-%d-%d %d:%d:%d/n&, stUTC.wYear, stUTC.wMonth,stUTC.wDay, stUTC.wHour, stUTC.wMinute, stUTC.wSecond); SystemTimeToFileTime(&stLocal, &ftLocal); uli.LowPart = ftLocal.dwLowDateT uli.HighPart = ftLocal.dwHighDateT printf(&Local File Time: %llu/n&, uli.QuadPart);LocalFileTimeToFileTime(&ftLocal, &ftUTC); uli.LowPart = ftUTC.dwLowDateT uli.HighPart = ftUTC.dwHighDateT printf(&UTC File Time: %llu/n&, uli.QuadPart);FileTimeToSystemTime(&ftUTC, &stUTC2); printf(&UTC System Time2 (YYYY-MM-DD HH:MM:SS): %d-%d-%d %d:%d:%d/n&, stUTC2.wYear, stUTC2.wMonth,stUTC2.wDay, stUTC2.wHour, stUTC2.wMinute, stUTC2.wSecond); return EXIT_SUCCESS; }
程序输出结果如下:
代码13行GetLocalTime函数获得当前的本地SYSTEMTIME时间,14行获得对应的UTC的SYSTEMTIME时间,如输出结果前两行所显示,两者相差8小时(凌晨还在写博客,表扬下自己。。。)。
20行SystemTimeToFileTime函数将本地SYSTEMTIME时间转换为方便计算的本地FILETIME形式时间,如输出结果第三行所显示。
25行LocalFileTimeToFileTime函数将本地FileTime时间转换为对应的UTC的FILETIME时间,如输出结果第四行所显示。就像前面介绍的,如果你将输出结果第三,四两行所显示的数字相减,并除以10**60,你将会得出8,你可以算下试试,记住FILETIME是以100纳秒为单位的。
最后30行FileTimeToSystemTime将FILETIME时间转换为SYSTEMTIME时间。可以看出输出结果中第五行与第二行相同,这是必须的,因为两者都是当前本地时间对应的UTC时间。
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
(1)(1)(1)(2)(1)(1)(1)(1)(3)(1)(2)(1)(1)(2)(5)(2)(3)(6)(2)(5)(1)(3)(9)(5)then是什么意思,词典释义与在线翻译:
adv.(副词)
那么,因此,于是
然后,后来,接着
当时,那时,到那时
还有,而且,此外,另外
adj.(形容词)
那时,当时
conj.(连词)
那时,当时
adv.(副词)
当时,那时 at that time
接着,于是,然后 afterwards
还有,而且 and also
那么,因此 therefore
"we will arrive before then"
"we were friends from then on"
Adjective:
"the then president"
subsequently or soon afterward (often used as sentence connectors);
"then he left"
"go left first, then right"
"first came lightning, then thunder"
"we watched the late movie and then went to bed"
"and so home and to bed"
in that case
"if he didn't take it, then who did?"
"keep it then if you want to"
"the case, then, is closed"
"you've made up your mind then?"
"then you'll be rich"
"I was young then"
"prices were lower back then"
"science as it was then taught"
then的用法和样例:
用作副词 (adv.)
He'll be looking for a new secretary then?
那么,他就要找个新秘书了?
He took his hat and then left.
他拿起帽子,随即离开了。
We lived in the country then.
我们那时住在乡下。
用作副词 (adv.)
He was harassed then.
那时他焦急不安。
I hope we'll have finished by then.
我希望到那时我们已经完成。
Prices were not so high then.
当时的物价没有这样高。
These were social problems then.
这些均是当时的社会问题。
If they had been more careful then, they would get better results now.
如果他们当时更仔细些,他们现在就会得到更好的结果。
First came Mary, then Jane.
玛丽先来,然后简才来。
He wrote some letters, then he cleaned the car.
他写了几封信,然后清洗汽车。
Listen to the four choices, then draw a circle under the right one.
听四个选择,然后在正确的下面画一个圈。
We had a week in Rome and then went to Naples.
我们在罗马住了一星期,然后前往那不勒斯。
He was thoughtful for a while and then replied “no”.
他思索了一会儿,然后回答说:“不”。
I got into the bath and then the telephone rang.
我刚进澡盆,电话铃就响了。
Then came the day of his examination.
后来到了他考试的日子。
Then opens an epoch of social reform.
接着开始了一个社会改革的时代。
“Is it going to rain?”“ Probably.” “Then we had better stay at home.”
“天要下雨吗?”“ 大概要下。”“ 那么,我们最好留在家里别出去了。”
Where did she go then?
那么她到哪里去了呢?
“Is it because the plan is too expensive that you oppose it?”“No.”“What is your objection then?”
“你是因为这个计划花费太大才反对吗?”“不是因为这个。”“那么,你的反对理由究竟是什么呢?”
The result of all this activity, then, was that the government became very unpopular.
所有这一切活动的后果就是,政府变得不得人心。
用作副词 (adv.)
此外,还有 otherwise
And then Mr. Johnson, we must ask him to come.
还有约翰逊先生呢,我们一定要请他来。
And then, you must remember how difficult it is.
此外,你一定要记住它有多么难。
但另一方面是 however
Your plan is a good one, but then it would take too much.
你的计划是好,不过费时太久花钱太多。
The method is good, but then it will take too much time.
方法虽好,但太费时间了。
I like watching television but then I wouldn't miss it if I didn't have one.
我爱看电视,不过如果没有电视,我也毫不在意。
(every) now and then
有时,时而,不时 occasionally
Now and then we heard shots in the woods.
我们不时听到森林里传来的枪声。
We go to the films now and then.
我们常常去看电影。
I like to smoke a big cigar every now and then.
我时而喜欢抽一支大雪茄烟。
Every now and then it stops altogether for no reason at all.
它经常无缘无故地停下来。
喂,嘿,好了 well
Now then, what's troubling you?
喂,你有什么苦恼呀?
Now then, be careful or you'll hurt yourselves.
喂,小心点,不然会碰伤你的。
Now then, stop talking and listen to me, everybody.
好了,别讲话,大家听我讲。
there and then〔then and there〕
当时当地 at that time and place
There and then he kissed her and asked her to marry him.
他当场吻了她,向她求婚。
You should have pointed out his mistakes then and there.
你应该当场就指出他的错误。
well, then
那好吧 all right then
Well, then, what do you think you are doing?
那好吧,那么你认为自己在做什么?
what then〔then what〕
(下一步)怎么办,又怎么样呢 how to do next
After you have finished this process, what then〔then what〕?
你做完这一步后,接下去怎么办?
而且还远不止此...
但另一方面
正在那时, 刚才...
下步怎么办,那便会怎...
这是怎么回事?,后来...
若是那样的话...
I hope..to pay you a visit (if you are then at Bristol).
出自:C. Lamb
He had caught what was then known as a social disease.
出自:G. Greene
There was no TV then.
出自:J. Kosinski
Sylvia cried only rarely, but she cried then.
出自:C. Harman
then的详细讲解:
adv.(副词)
then的意思是“当时,那时”“接着,于是,然后”“还有,而且”“那么,因此”,作“那时”解时可指过去,也可指将来。
then作“那么”解时常用于句首或句末,用来缓和语气; 作“然后”解时常位于and之后,所修饰的词语之前,起连接作用。
then有时可用于对已经提到过或刚提到过的某物表示一般的看法,可译作“则是,就是”。
then用作状语作“接着,于是,然后”解时也可位于句首,这时句子要用倒装语序。
then间或可用作形容词,用来修饰名词,意思是“当时的”。例如:The matter was reported to the then head of the secret service.此事向当时的特工部门主管报告了。
adv.(副词)
then and there, now and then
这两个短语的意思并不相同:then and there的意思是“当时当地”,含有时间和空间的双重概念; 而now and then的意思是“有时,时而,不时”,只有时间概念,没有空间概念。
then, accordingly, consequently, hence, so, therefore, thereupon, thus
这组词的共同意思是“因此; 所以; 于是”,它们的区别是:
1.so, then和thus是一般用词; accordingly, consequently, hence, therefore和thereupon是正式用词。
2.so和then常用于简洁的日常谈话,语义较轻,只表示因果关系或逻辑顺序,而不一定表示严格的推论关系。
3.accordingly, consequently, hence, therefore, thereupon和thus都表示因果关系。accordingly语气较缓和,常译为“于是”; consequently一般不强调因果间的必然联系,而只是根据逻辑推理得出的结果; hence表示合理的推断,指出原因及其必然结果,但更强调原因; therefore强调因果间的逻辑关系,多用于表示严密推理或精确论证的郑重场合,故常用在数学、逻辑学等领域; thereupon则指“作为…的结果”; thus的意思和hence, therefore相近,但更正式庄重。
4.accordingly常位于(分句)句首或句中; consequently, hence常位于(分句)句首; so只用于分句句首; then常用于分句句首,有时用于句末; therefore和thereupon常用于(分句)句首,有时用于句中; thus常用于(分句)句首。
5.consequently, hence, so, then, therefore和thereupon前有时可加 accordingly前偶尔可加 thus前一般不可加and。
6.hence常引导省略句; thus还可跟现在分词短语表示结果或目的。
☆ 直接源自古英语的thanne,意为那时。
then的海词问答与网友补充:
[例句用法]1.于是,所以要。
Then I told him a little about you.然后我告诉了他一点点关于你的事情。是主要讲了然后我告诉了他,而不是我告诉了他,两种语法不是一样的。许多初学者经常犯错,所以我为了提高辨认度,写了一个a little,就是要求不要犯错。
[释义]1、于是,所以
He, then, decided to accept the proposal.
于是,他决定接受这一建议。
2、此外,还有
The applicant has had some experience in this kind of work, and then he is easy to get along with.
那位申请人以前做过这种工作,另外此人很容易相处。
then的相关资料:
then&:&当时;那时 ...
在&&中查看更多...
【近义词】
在 ... 之上
除 ... 之外
在那里(当地...
在那个时候
正在那时, 刚才...
同 ... 一起
与...在一起
但另一方面
由于那个缘故...
情况既然如此...
因此(由此看来)...
【反义词】
then:then adv. 当时, 在那时, 那么, 因而, 然后, 于是Google提供的广告习惯用语before then 那时以前but then 但是, 但是另一方面by then 到那时候from…
相关词典网站:

我要回帖

更多关于 基友是什么意思 的文章

 

随机推荐