06-28-2012
Leap second happening
Have anybody heard about the Leap second problem
Leap second :A leap second is a one-second adjustment that is occasionally applied to Coordinated Universal Time (UTC) in order to keep its time of day close to the mean solar time.
How could i avoid such thing in my script which i deal with times
source :
Leap second - Wikipedia, the free encyclopedia
8 More Discussions You Might Find Interesting
1. AIX
HI all,
Ping is happening to a AIX box...but telnet is not happening...
AIX box doesn't have any conslole...
Please help how to resolve it.
Thanks in advance ..
Manu (2 Replies)
Discussion started by: b_manu78
2 Replies
2. UNIX for Advanced & Expert Users
Hi All,
We are running the HP-UX 11.11 and Linux AS 3.0. so, shall we need to make any changes for leap second i.e. insert the leap second on 1st Jan 2006 or does the system have some setup which would take care of this automatically.
Please advise.
Regards,
Inder (2 Replies)
Discussion started by: isingh786
2 Replies
3. HP-UX
Hi All,
We are running the HP-UX 11.11 and Linux AS 3.0. so, shall we need to make any changes for leap second i.e. insert the leap second on 1st Jan 2006 or does the system have some setup which would take care of this automatically.
Please advise.
Regards,
Inder (1 Reply)
Discussion started by: isingh786
1 Replies
4. UNIX for Advanced & Expert Users
I understand the NTP protocol, so keeping system time updated is not a problem.
Standard C library routines like localtime() take a number of UTC seconds elapsed since the start of the epoch (Jan 1, 1970). These times in seconds can be a filetime, system time, or some other time in the past or... (1 Reply)
Discussion started by: jim mcnamara
1 Replies
5. UNIX for Dummies Questions & Answers
I need a k-shell script that tests for leap-year. Does anyone have one at hand, need ASAP!!! (2 Replies)
Discussion started by: p1jls02
2 Replies
6. UNIX for Dummies Questions & Answers
Is there a function call in std library or unit command that returns the number of current leap seconds?
GG (4 Replies)
Discussion started by: NAVTime
4 Replies
7. Shell Programming and Scripting
Write a function called dateToDays that takes three parameters -a month string such as Sep, a day number such as 18, and a year number such as 1962-and return s the number of days from January 1, 1900, to the date.
Notes: I am asking you to account for leap years.
my script is not... (0 Replies)
Discussion started by: babuda0059
0 Replies
8. Solaris
I hear the Leap second for 2015 will occur on June 30 at 23:59:60 according to the wild rumours from internet the expected impact ranges from crashing to hanging servers.
Can anybody share their preparations what they have done for solaris servers? are there any patches to install or workaround?... (1 Reply)
Discussion started by: sparcguy
1 Replies
LEARN ABOUT MOJAVE
datetime::leapsecond5.18
DateTime::LeapSecond(3) User Contributed Perl Documentation DateTime::LeapSecond(3)
NAME
DateTime::LeapSecond - leap seconds table and utilities
VERSION
version 1.06
SYNOPSIS
use DateTime;
use DateTime::LeapSecond;
print "Leap seconds between years 1990 and 2000 are ";
print DateTime::Leapsecond::leap_seconds( $utc_rd_2000 ) -
DateTime::Leapsecond::leap_seconds( $utc_rd_1990 );
DESCRIPTION
This module is used to calculate leap seconds for a given Rata Die day. It is used when DateTime.pm cannot compile the XS version of this
code.
This library is known to be accurate for dates until December 2009.
There are no leap seconds before 1972, because that's the year this system was implemented.
o leap_seconds( $rd )
Returns the number of accumulated leap seconds for a given day, in the range 0 .. 22.
o extra_seconds( $rd )
Returns the number of leap seconds for a given day, in the range -2 .. 2.
o day_length( $rd )
Returns the number of seconds for a given day, in the range 86398 .. 86402.
SEE ALSO
<http://hpiers.obspm.fr/eop-pc/earthor/utc/leapsecond.html>
http://datetime.perl.org
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2013 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
perl v5.18.2 2017-10-06 DateTime::LeapSecond(3)