Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Daylight Savings - Timezones etc... Post 17040 by peter.herlihy on Sunday 10th of March 2002 04:48:33 PM
Old 03-10-2002
The issue is that in my country - and I know this is so for other countries too - we have a daylight savings period for 6 months of the year.

So while we are normally GMT+12....during our Summer we are GMT+13. I select the normal TZ for my country from the settings - however it is currently wrong as it doesn't take the daylight savings into account.

It really is no biggie - as time in this forum is no real issue for me - but thought you may be interested to know.....
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Daylight savings and cron

I was trying to schedule a job to run on the last Sunday of October. To stop a process that I have running before daylight savings automatically falls back at 2AM then restart it after the hour has been regained. I thought I was smart (my mistake) and scheduled the 2 entries in cron. I figured that... (3 Replies)
Discussion started by: cindylouwho
3 Replies

2. Solaris

daylight savings change

I have a solaris 8 server - and I need to ensure the daylight savings change properly but I dont think its set up correctly: /usr/sbin/zdump -v -c 2005 $TZ GB-EIRE Wed Oct 26 12:20:02 2005 UTC = Wed Oct 26 12:20:02 2005 GB isdst=0 GB-EIRE Fri Dec 13 20:45:52 1901 UTC = Fri Dec 13 20:45:52... (5 Replies)
Discussion started by: frustrated1
5 Replies

3. UNIX for Dummies Questions & Answers

Daylight savings change

Hey guys, How do i check and see if my server will automatically adjust itself for daylight savings? Thanks! (6 Replies)
Discussion started by: kingdbag
6 Replies

4. Solaris

Daylight Savings Time Fix

Hello, I've been looking at coming up with a time change on my Sun workstations since daylight savings time comes early this year. Someone at work told me that a sun patch is available if you have a maintenance contract. It was recommended to just set your systems to GMT time zone. How is this... (5 Replies)
Discussion started by: stocksj
5 Replies

5. Linux

Daylight savings patch for Linux?

Is there a patch availible for the upcoming new daylight savings time ordeal? (4 Replies)
Discussion started by: shorty
4 Replies

6. Solaris

Daylight Savings Time Quirk

I am running a SUN E450 on solaris (5.7). I have applied the DST patch and the system time is correct. However when users login the get the time wrong (+4 hours) (I am in EDT Zone). Does anyone know where a system wide variable for this could be set. (Root user gets the right time) Frank (3 Replies)
Discussion started by: frankkahle
3 Replies

7. AIX

Daylight savings time

Our aix unix box did not recognize daylight savings time since it was moved up. Could someone please give me the syntax to change the hour? I looked in man and couldn't find anything, or I missed it. I'm in 3rd grade so if you can, please provide specific instructions. Thanks! (2 Replies)
Discussion started by: vbagwell
2 Replies

8. AIX

Daylight savings time

Hello everyone The last sunday I have to check that my servers has change Daylight savings time but only two servers do it and all the rest doesnt. In smitty where I need to change, for my server take automatic the daylight savings time. Thanks for your tips The next its a message for... (0 Replies)
Discussion started by: lo-lp-kl
0 Replies

9. AIX

Timezone issues -- Daylight savings

Hello, I like to set the CDT timezone, but it shows CST still even after I activated the DayLight Time cat /etc/environment | grep TZ TZ=CST6CDT Now looking at date: root@test8:/>date Tue Dec 20 05:34:45 CST 2016 How can I make it from CST to CDT ? thanks (5 Replies)
Discussion started by: filosophizer
5 Replies
settimeofday(2) 						System Calls Manual						   settimeofday(2)

NAME
settimeofday - set the date and time SYNOPSIS
DESCRIPTION
The function sets the current time, expressed as seconds and microseconds since Epoch, and passed as the structure pointed to by tp. The resolution of the system clock is one microsecond. Security Restrictions Setting the time of day requires the privilege (SYSATTR). Processes owned by the superuser will have this privilege. Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about privileged access on systems that support fine-grained privileges. PARAMETERS
tp A pointer to a structure in which the current time is returned. The structure includes the following members: tzp If this parameter is not a null pointer, it is interpreted as a pointer to a structure under HP-UX. The structure has the following fields: tz_minuteswest The number of minutes that the local time zone is west of Coordinated Universal Time (UTC) or Epoch. tz_dsttime A flag that, if nonzero, indicates that Daylight Savings Time (DST) applies locally during the appropriate part of the year. RETURN VALUE
returns the following values under HP-UX: Successful completion. Failure. is set to indicate the error. ERRORS
If fails, is set to the following value under HP-UX: An argument address referenced invalid memory. The member of the tp parameter to was less than zero or greater than 2^31. A user lacking appropriate privileges attempted to set the time. WARNINGS
Relying on a granularity of one microsecond may result in code that is not portable to other platforms. AUTHOR
was developed by the University of California, Berkeley, and HP. SEE ALSO
date(1), ftime(2), gettimeofday(2), stime(2), time(2), ctime(3C), privileges(5). settimeofday(2)
All times are GMT -4. The time now is 01:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy