Operating System - HP-UX
1847844 Members
2677 Online
104021 Solutions
New Discussion

DST can't work on Nov.4 2007 on HPUX

 
raohaiyan
New Member

DST can't work on Nov.4 2007 on HPUX

OS:11.11i v1,JRE version:1.4.2_11, and patch PHCO_34668 have installed, but DST only can work on Mar.11 2007, can't work on Nov.4 2007.so I download tzupdate1.0.tar, kill all java procedure, and run "java -jar tzupdate.jar -u -f -v" successfully, but DST can't work on Nov.4 yet. do you have any suggestion? thanks in advance!
9 REPLIES 9
raohaiyan
New Member

Re: DST can't work on Nov.4 2007 on HPUX

DST is Daylight Saving Time

Thanks,
benben
Dennis Handly
Acclaimed Contributor

Re: DST can't work on Nov.4 2007 on HPUX

Are you saying that DST doesn't end on Nov 4?

This seems to be correctly done in PHCO_34668 for libc.
raohaiyan
New Member

Re: DST can't work on Nov.4 2007 on HPUX

yes, as normal, the time should be back to 01:00 after 01:59:59 Nov.11 2007, but now the time go to 2:00 directly, I think PHCO_34468 has installed according my Patch info,below is my Patch info:
hqvwhp20(root)/> swlist -l patch PHCO_34668

# Initializing...

# Contacting target "hqvwhp20"...

#

# Target: hqvwhp20:/

#



# PHCO_34668 1.0 tztab(4) cumulative patch

# PHCO_34668.UX-CORE 1.0 OS-Core.UX-CORE applied

by the way, if I change my time to 01:59:59 Mar.11 2007, the time can go to 03:00 directly.

Thanks
Steven E. Protter
Exalted Contributor

Re: DST can't work on Nov.4 2007 on HPUX

Shalom,

I'd suggest that bringing the system current on patching is a good idea. Also there might be a fix on this in a later version of java.

Patches:
http://itrc.hp.com click patch database
Java:
http://www.hp.com/go/java

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: DST can't work on Nov.4 2007 on HPUX

>as normal, the time should be back to 01:00 after 01:59:59 Nov.11 2007, but now the time go to 2:00 directly

DST ends on Nov 4, 2007, not 11th. Was that a typo?

Are you changing the machine's time to test it above? Or are you just converting a time?
Are you using date(1) or Java to test it?
raohaiyan
New Member

Re: DST can't work on Nov.4 2007 on HPUX

yes, that's a typo. DST ends on Nov 4,2007, I used date to test it, I got a new info, if we change the time to 00:58am on Nov 4,2007, the clock proceed to 01:59, then will fall back to 01:00, it's said it's same as solaris, but AIX is normal, I will try, thanks all!

Raohaiyan
Mike ONeal
Occasional Contributor

Re: DST can't work on Nov.4 2007 on HPUX

I did a similar test on HP-UX 11 after installing PHCO_34673. When I set it a few minutes before 1:50am on Nov 4th the TZ already said EST. I created a script that ran every minute to check the date. I think I started it at around 1am. When 1:59am came the date went back to 1am so I saw this anomoly too on 11. Could not test on 11i
Mike ONeal
Occasional Contributor

Re: DST can't work on Nov.4 2007 on HPUX

Output from script:

tungsten:/root ># ./dst.ksh
Mon Jan 8 12:29:59 EST 2007
Sun Mar 11 01:55:00 EST 2007
Sun Mar 11 01:55:00 EST 2007
Sun Mar 11 01:55:00 EST 2007
Sun Mar 11 01:56:00 EST 2007
Sun Mar 11 01:57:00 EST 2007
Sun Mar 11 01:58:00 EST 2007
Sun Mar 11 01:59:00 EST 2007
Sun Mar 11 03:00:00 EDT 2007
Sun Mar 11 03:01:00 EDT 2007
Sun Mar 11 03:02:00 EDT 2007
Sun Mar 11 03:03:00 EDT 2007
Sun Mar 11 03:04:00 EDT 2007
Sun Mar 11 03:05:01 EDT 2007

tungsten:/root ># ./dst.ksh
Sun Nov 4 00:45:36 EDT 2007
Sun Nov 4 00:46:36 EDT 2007
Sun Nov 4 00:47:36 EDT 2007
Sun Nov 4 00:48:36 EDT 2007
Sun Nov 4 00:49:36 EDT 2007
Sun Nov 4 00:50:36 EDT 2007
Sun Nov 4 00:51:37 EDT 2007
Sun Nov 4 00:52:37 EDT 2007
Sun Nov 4 00:53:37 EDT 2007
Sun Nov 4 00:54:37 EDT 2007
Sun Nov 4 00:55:37 EDT 2007
Sun Nov 4 00:56:37 EDT 2007
Sun Nov 4 00:57:37 EDT 2007
Sun Nov 4 00:58:37 EDT 2007
Sun Nov 4 00:59:37 EDT 2007
Sun Nov 4 01:00:37 EDT 2007
Sun Nov 4 01:01:37 EDT 2007
Sun Nov 4 01:02:38 EDT 2007
Sun Nov 4 01:03:38 EDT 2007
Sun Nov 4 01:04:38 EDT 2007
Sun Nov 4 01:05:38 EDT 2007
Sun Nov 4 01:06:38 EDT 2007
Sun Nov 4 01:07:38 EDT 2007
Sun Nov 4 01:08:38 EDT 2007
Sun Nov 4 01:09:38 EDT 2007
Sun Nov 4 01:10:38 EDT 2007
Sun Nov 4 01:11:38 EDT 2007
Sun Nov 4 01:12:38 EDT 2007
Sun Nov 4 01:13:39 EDT 2007
Sun Nov 4 01:14:39 EDT 2007
Sun Nov 4 01:15:39 EDT 2007
Sun Nov 4 01:16:39 EDT 2007
Sun Nov 4 01:17:39 EDT 2007
Sun Nov 4 01:18:39 EDT 2007
Sun Nov 4 01:19:39 EDT 2007
Sun Nov 4 01:20:39 EDT 2007
Sun Nov 4 01:21:39 EDT 2007
Sun Nov 4 01:22:39 EDT 2007
Sun Nov 4 01:23:39 EDT 2007
Sun Nov 4 01:24:40 EDT 2007
Sun Nov 4 01:25:40 EDT 2007
Sun Nov 4 01:26:40 EDT 2007
Sun Nov 4 01:27:40 EDT 2007
Sun Nov 4 01:28:40 EDT 2007
Sun Nov 4 01:29:40 EDT 2007
Sun Nov 4 01:30:40 EDT 2007
Sun Nov 4 01:31:40 EDT 2007
Sun Nov 4 01:32:40 EDT 2007
Sun Nov 4 01:33:40 EDT 2007
Sun Nov 4 01:34:40 EDT 2007
Sun Nov 4 01:35:40 EDT 2007
Sun Nov 4 01:36:41 EDT 2007
Sun Nov 4 01:37:41 EDT 2007
Sun Nov 4 01:38:41 EDT 2007
Sun Nov 4 01:39:41 EDT 2007
Sun Nov 4 01:40:41 EDT 2007
Sun Nov 4 01:41:41 EDT 2007
Sun Nov 4 01:42:41 EDT 2007
Sun Nov 4 01:43:41 EDT 2007
Sun Nov 4 01:44:41 EDT 2007
Sun Nov 4 01:45:41 EDT 2007
Sun Nov 4 01:46:41 EDT 2007
Sun Nov 4 01:47:42 EDT 2007
Sun Nov 4 01:48:42 EDT 2007
Sun Nov 4 01:49:42 EDT 2007
Sun Nov 4 01:50:42 EDT 2007
Sun Nov 4 01:51:42 EDT 2007
Sun Nov 4 01:52:42 EDT 2007
Sun Nov 4 01:53:42 EDT 2007
Sun Nov 4 01:54:42 EDT 2007
Sun Nov 4 01:55:42 EDT 2007
Sun Nov 4 01:56:42 EDT 2007
Sun Nov 4 01:57:42 EDT 2007
Sun Nov 4 01:58:43 EDT 2007
Sun Nov 4 01:59:43 EDT 2007
Sun Nov 4 01:00:43 EST 2007
Dennis Handly
Acclaimed Contributor

Re: DST can't work on Nov.4 2007 on HPUX

Mike's output shows everything is working fine.