Sponsored Content
Full Discussion: Change time winter=>summer
Operating Systems AIX Change time winter=>summer Post 302785809 by MichaelFelt on Tuesday 26th of March 2013 11:55:17 AM
Old 03-26-2013
yes, ...M3.4.0... meant change DST value on fourth Sunday of March (which was last week) and ...M3.5.0... means change on fifth Sunday of March - which is 31 March this year.
When there are not 5 Sundays, the change is made on the fourth Sunday.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Time change not working...

Hi, I am pretty new to the Solaris world. Just installed the version 8 and found that the time is off. I am in the Central time zone. In the beginning, the date and time was off by a day. After changing the /etc/default/init, there is no avail. The date is now correct but the time is still 5 hours... (7 Replies)
Discussion started by: conflansun
7 Replies

2. UNIX for Dummies Questions & Answers

Winter/Summer time change

Reliant Unix. Our branch in Syria has a Unix Server running our company application. Usually the the time is changed not in a fixed date.....but around end of October and beginning of November. The night of the summer winter time change last year...we put the server in singel user mode, then... (0 Replies)
Discussion started by: bcheaib
0 Replies

3. Linux

How To change time?

what command must i use to change time ? (4 Replies)
Discussion started by: Sirius
4 Replies

4. AIX

summer Time

Good Morning I want to know how I can Abort tha automaticaly date change from summer to winter time ( At the the last sunday of march the date change) Please it is very urgent (0 Replies)
Discussion started by: mktahar
0 Replies

5. Solaris

change time

The time of our Solaris server now is slowly more 20 seconds. How can we change it ? (3 Replies)
Discussion started by: anhtt
3 Replies

6. What is on Your Mind?

another whats on my mind!!! - winter waves

for anyone who surfs the northeast: why can't we have more frequent wave forming winds (bigger low pressure systems) in the summer?! i'm tired of putting on 100lbs of wet suit and surfing awesome waves. i'd rather put on no wet suit and surf awesome waves. :) damn the bermuda high!! anyone... (1 Reply)
Discussion started by: pupp
1 Replies

7. AIX

AIX TIME CHANGE

Hi Guys , I see a weird problem with one of the AIX Machine, The time is changing randomly on the server. The seconds part of the time is what is the problem which is jumping on a uneven order and coming back to the original state after some time and again the same.. I have collected the time... (8 Replies)
Discussion started by: kkeng808
8 Replies

8. Debian

change time

Hi all, I want change the time settings from EST to IST by using command line in Debian os. but it is not taken. Can any body show me the how to change the time settings by using command line. Thanks, (1 Reply)
Discussion started by: mastansaheb
1 Replies
CALENDAR(3)						   BSD Library Functions Manual 					       CALENDAR(3)

NAME
easterg, easterog, easteroj, gdate, jdate, ndaysg, ndaysj, week, weekday -- Calendar arithmetic for the Christian era LIBRARY
Calendar Arithmetic Library (libcalendar, -lcalendar) SYNOPSIS
#include <calendar.h> struct date * easterg(int year, struct date *dt); struct date * easterog(int year, struct date *dt); struct date * easteroj(int year, struct date *dt); struct date * gdate(int nd, struct date *dt); struct date * jdate(int nd, struct date *dt); int ndaysg(struct date *dt); int ndaysj(struct date *dt); int week(int nd, int *year); int weekday(int nd); DESCRIPTION
These functions provide calendar arithmetic for a large range of years, starting at March 1st, year zero (i.e., 1 B.C.) and ending way beyond year 100000. Programs should be linked with -lcalendar. The functions easterg(), easterog() and easteroj() store the date of Easter Sunday into the structure pointed at by dt and return a pointer to this structure. The function easterg() assumes Gregorian Calendar (adopted by most western churches after 1582) and the functions easterog() and easteroj() compute the date of Easter Sunday according to the orthodox rules (Western churches before 1582, Greek and Russian Orthodox Church until today). The result returned by easterog() is the date in Gregorian Calendar, whereas easteroj() returns the date in Julian Calendar. The functions gdate(), jdate(), ndaysg() and ndaysj() provide conversions between the common "year, month, day" notation of a date and the "number of days" representation, which is better suited for calculations. The days are numbered from March 1st year 1 B.C., starting with zero, so the number of a day gives the number of days since March 1st, year 1 B.C. The conversions work for nonnegative day numbers only. The gdate() and jdate() functions store the date corresponding to the day number nd into the structure pointed at by dt and return a pointer to this structure. The ndaysg() and ndaysj() functions return the day number of the date pointed at by dt. The gdate() and ndaysg() functions assume Gregorian Calendar after October 4, 1582 and Julian Calendar before, whereas jdate() and ndaysj() assume Julian Calendar throughout. The two calendars differ by the definition of the leap year. The Julian Calendar says every year that is a multiple of four is a leap year. The Gregorian Calendar excludes years that are multiples of 100 and not multiples of 400. This means the years 1700, 1800, 1900, 2100 are not leap years and the year 2000 is a leap year. The new rules were inaugurated on October 4, 1582 by deleting ten days following this date. Most catholic countries adopted the new calendar by the end of the 16th century, whereas others stayed with the Julian Calendar until the 20th century. The United Kingdom and their colonies switched on September 2, 1752. They already had to delete 11 days. The function week() returns the number of the week which contains the day numbered nd. The argument *year is set with the year that contains (the greater part of) the week. The weeks are numbered per year starting with week 1, which is the first week in a year that includes more than three days of the year. Weeks start on Monday. This function is defined for Gregorian Calendar only. The function weekday() returns the weekday (Mo = 0 .. Su = 6) of the day numbered nd. The structure date is defined in <calendar.h>. It contains these fields: int y; /* year (0000 - ????) */ int m; /* month (1 - 12) */ int d; /* day of month (1 - 31) */ The year zero is written as "1 B.C." by historians and "0" by astronomers and in this library. SEE ALSO
ncal(1), strftime(3) STANDARDS
The week number conforms to ISO 8601: 1988. HISTORY
The calendar library first appeared in FreeBSD 3.0. AUTHORS
This manual page and the library was written by Wolfgang Helbig <helbig@FreeBSD.org>. BUGS
The library was coded with great care so there are no bugs left. BSD
November 29, 1997 BSD
All times are GMT -4. The time now is 08:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy