Jan 11, 2007 #1 mag007 IS-IT--Management Nov 8, 2006 99 US Is there a way to figure our if a certain machine, UNIX, satisfies the new day light saving time regulation?
Is there a way to figure our if a certain machine, UNIX, satisfies the new day light saving time regulation?
Jan 11, 2007 #2 KevinADC Technical User Jan 21, 2005 5,070 US are you asking how to do that with perl? - Kevin, perl coder unexceptional! Upvote 0 Downvote
Jan 11, 2007 Thread starter #3 mag007 IS-IT--Management Nov 8, 2006 99 US hehe yes. I am thinking something like this. Convert March 7, 2007 into UTC, and then run a localtime() against its result. Since localtime($result) goes into the OS. Do you think thats going to work? TIA Upvote 0 Downvote
hehe yes. I am thinking something like this. Convert March 7, 2007 into UTC, and then run a localtime() against its result. Since localtime($result) goes into the OS. Do you think thats going to work? TIA
Jan 11, 2007 #4 Kirsle Programmer Jan 21, 2006 1,179 US localtime returns as its last argument a variable "isDST" which is true when daylight savings time is being observed. perldoc localtime ------------- Cuvou.com | The NEW Kirsle.net Upvote 0 Downvote
localtime returns as its last argument a variable "isDST" which is true when daylight savings time is being observed. perldoc localtime ------------- Cuvou.com | The NEW Kirsle.net
Jan 11, 2007 #5 travs69 MIS Dec 21, 2006 1,431 US I would guess that unless you have patched your machine then it is not going to work for the new DST. Upvote 0 Downvote
I would guess that unless you have patched your machine then it is not going to work for the new DST.