Hello!
I'm currently working on a climatological dataset that uses unix-timestamp and a real date like 28/03/2004 02:45:00 h. in spring the unix-timestamp follows its continuos mode but in the column of the real date the time jumps one hour forward (e.g. from 1:59:59 to 3:00:00). i think this is... (1 Reply)
hi ...
i have an E450 sun server that is running solaris 6 . i want to disable daylight savings on my server .
My question is :
1) how to know that my server is running daylight savings ?
2) how to disable it ?
my zoneinfo file contains the following
# @(#)init.dfl 1.2 92/11/26
#
#... (1 Reply)
Hi all
We are currently using AIX 5.3, we reuquire to change the time according to the daylight saving scenario. We are using the internal clock and are not synced with ntp server. Can any one please tell me how to do that without effecting the processes running on the servers? (1 Reply)
Hello all,
I'm having a problem where a script needs to calculate GMT time given local time. For 6 months, that's easy. The other 6 months, it's not, as I have to add an extra hour to allow for Daylight Saving. At the moment, I manually add and remove an offset but, for obvious reasons, I'd... (2 Replies)
Hi folks,
I would like to read the start date and end date of the Daylight Saving Time for the given timezone in the given year. What's the function in C/C++ to read the start of the Daylight Saving date and end of Daylight saving date?
I'm using Linux 2.6.xx Kernel.
For Example, in... (4 Replies)
Hi,
I have few doubt on daylight saving.
Can any one clarify the below points.
1) How to configure daylight saving(DLS) time ?
2) How to query DLS ?
3) If i set DLS(say some how) will it be autometically changed or user has to manually change system time ?
I got few info on net about... (3 Replies)
Hello
Can sombody please tell me how linux handles DST ( daylight saving time) ?
Does the time change instantly , ex: if is is 3'o clock does linux instantly swich to 2'o clock ?
plese give more info about this toppic (2 Replies)
Discussion started by: martonlorand
2 Replies
LEARN ABOUT SUNOS
clock
clock(3C) Standard C Library Functions clock(3C)NAME
clock - report CPU time used
SYNOPSIS
#include <time.h>
clock_t clock(void);
DESCRIPTION
The clock() function returns the amount of CPU time (in microseconds) used since the first call to clock() in the calling process. The time
reported is the sum of the user and system times of the calling process and its terminated child processes for which it has executed the
wait(3C) function, the pclose(3C) function, or the system(3C) function.
RETURN VALUES
Dividing the value returned by clock() by the constant CLOCKS_PER_SEC, defined in the <time.h> header, will give the time in seconds. If
the process time used is not available or cannot be represented, clock returns the value (clock_t) -1.
USAGE
The value returned by clock() is defined in microseconds for compatibility with systems that have CPU clocks with much higher resolution.
Because of this, the value returned will wrap around after accumulating only 2147 seconds of CPU time (about 36 minutes).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO times(2), popen(3C), system(3C), wait(3C), attributes(5), standards(5)SunOS 5.10 24 Jul 2002 clock(3C)