夏令时 [英] Daylight saving

查看:107
本文介绍了夏令时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法检查Linux机器上是否启用了夏令时?

解决方案

这与clc无关

man timezone将有所帮助!!

Amitabh Deepak写道:

有没有办法检查Linux机器上是否启用了夏令时?



Amit top-posted:

Amitabh Deepak写道:

是否有检查是否在
linux机器上启用了夏令时的任何方法?



这与clc无关
man timezone会有所帮助!!




你能否检查

localtime(const time_t * tp)返回的struct tm的tm_isdst成员?


Thes写道:

Amit top-posted:

Amitabh Deepak写道:

有没有办法检查是否在
linux机器上启用了夏令时?



>这与c.l.c无关。
> man timezone会帮助!!
>



你能否检查
localtime(const time_t * tp)返回的struct tm的tm_isdst成员? / blockquote>

您能否引用当地时间的标准?我想比较

它与本地时间的我的(linux)手册页。


HaND,

-

Michel Bardiaux

Peaktime Belgium SA Bd。 du Souverain,191 B-1160 Bruxelles

电话:+32 2 790.29.41


Is there any way to check whether daylight saving is enabled on a linux machine?

解决方案

This is not related to c.l.c.
man timezone will help!!
Amitabh Deepak wrote:

Is there any way to check whether daylight saving is enabled on a linux machine?



Amit top-posted:

Amitabh Deepak wrote:

Is there any way to check whether daylight saving is enabled on a
linux machine?



This is not related to c.l.c.
man timezone will help!!



Can you not check the tm_isdst member of the struct tm returned by
localtime(const time_t *tp)?


Thes wrote:

Amit top-posted:

Amitabh Deepak wrote:

Is there any way to check whether daylight saving is enabled on a
linux machine?


> This is not related to c.l.c.
> man timezone will help!!
>



Can you not check the tm_isdst member of the struct tm returned by
localtime(const time_t *tp)?


Could you please quote the standard about localtime? I wish to compare
it with my (linux) man page for localtime.

HaND,
--
Michel Bardiaux
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41


这篇关于夏令时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆