- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unix time value - 10 digits?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:11 AM
08-07-2001 07:11 AM
A concerned user sent me the notification below. Could you please give me your opinions?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
UNIX GURU UNIVERSE & UNIX911.com
UNIX HOT TIP
Unix Tip 1680 - August 7, 2001
http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
YET ANOTHER COUNTDOWN
The unix time() value will rollover
to 10 digits for the first time in
modern computer history starting
Saturday Sept 8th,2001. The
timestamp will be 10 digits long,
and not 9.
Here?s a short Perl script to
compute the time left:
#!/usr/bin/perl -w
use strict;
my $now=time();
my $target=?1000000000?;
my
($sec,$min,$hrs,$dom,$mon,$year,$wday,$yday,$isdst)=localtime($target
$now);
my $now_string=localtime(time());
my $target_string=localtime($target);
my $message=qq{today is $now_string\n$mon months $dom days $hrs
hours $min minutes $sec seconds left till U1e9
($target_string)\n};
print $message;
This tip generously supported by: scooper@absolutemadness.com
Clara
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:20 AM
08-07-2001 07:20 AM
Solutionhttp://www.electromagnetic.net/press-releases/unixonebln.php
"should" reassure you...have a read of the last paragraph of the first section.
Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:22 AM
08-07-2001 07:22 AM
Re: Unix time value - 10 digits?
This was know and widely disseminated in the year or so before 2000. If you're are storing or displaying the number of seconds since the epoch, then this is useful information.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:36 AM
08-07-2001 07:36 AM
Re: Unix time value - 10 digits?
The 10 decimal digits is no big deal as this is no 'magic' binary representation. The big crunch will happen in January, 2038 when we exceed 32-bit representation. The only possible
downside (and this was discussed prior to Y2K)
are those programs which for some reason use this representation to generate string values
which might overflow.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 07:39 AM
08-07-2001 07:39 AM
Re: Unix time value - 10 digits?
Clara