- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Calculate GMT
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
Discussions
Discussions
Forums
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
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
тАО11-21-2008 01:40 PM
тАО11-21-2008 01:40 PM
Hoping someone has a quick fix/script for this. Trying to find a way to calculate the GMT value from the current systems' time and SYS$TIMEZONE_DIFFERENTIAL.
Anyone have a quick lexical that did this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2008 07:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2008 01:53 PM
тАО11-22-2008 01:53 PM
Re: Calculate GMT
Two of those would be India and Venezuela.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2008 07:25 PM
тАО11-22-2008 07:25 PM
Re: Calculate GMT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2008 07:09 AM
тАО11-25-2008 07:09 AM
Re: Calculate GMT
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2008 07:29 AM
тАО11-25-2008 07:29 AM
Re: Calculate GMT
>>>
(wrote that down many tears ago
<<<
Litterally? Did you get hurt by it that much? :-)
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 12:48 AM
тАО11-26-2008 12:48 AM
Re: Calculate GMT
(at least I think so :-)
$dt3=-
f$extract((f$integer(f$trnlnm("SYS$TIMEZONE_DAYLIGHT_SAVING"))*4+3),-
3,f$trnlnm("SYS$TIMEZONE_RULE"))
$ dt2=f$extract(0,2,dt3)
$ dt1=f$extract(0,1,dt3)
$ if f$extract(0,1,dt1).eqs."-").or.(f$extract(0,1,dt1).eqs."+")
$ then
$ dt = dt2
$ else
$ dt="+"+dt1
$ if (f$extract(1,1,dt3).ges."0").and.-
(f$extract(1,1,dt3).les."9") then dt="+"+dt2
$ endif
$ if (f$extract(2,1,dt3).ges."0").and.(f$extract(2,1,dt3).les."9")
$ then
$ dt=dt3
$ endif
$ dt = dt+":"
$! show symbol dt
$ write sys$output f$cvtim(dt,"ABSOLUTE")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 04:42 AM
тАО11-26-2008 04:42 AM
Re: Calculate GMT
in the above proc., the line
$if f$extract(0,1,dt1).eqs."-").or.(f$extract(0,1,dt1).eqs."+")
has to be
$if (f$extract ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2008 08:30 AM
тАО12-01-2008 08:30 AM
Re: Calculate GMT
I will play with the command files. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 09:42 AM
тАО12-02-2008 09:42 AM