HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- getting older time in openVMS
Operating System - OpenVMS
1828186
Members
3510
Online
109975
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-05-2008 11:17 AM
11-05-2008 11:17 AM
whats the easiest way of getting current time - 10 mins (
e.g if i want to do a dir/since=<10 mins ago time>
e.g if i want to do a dir/since=<10 mins ago time>
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 11:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 11:41 AM
11-05-2008 11:41 AM
Re: getting older time in openVMS
Sami,
simply
$ DIR /SIN="-0:10"
Proost.
Have one on me.
jpe
simply
$ DIR /SIN="-0:10"
Proost.
Have one on me.
jpe
Don't rust yours pelled jacker to fine doll missed aches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 11:44 AM
11-05-2008 11:44 AM
Re: getting older time in openVMS
The OpenVMS manuals are available at http://www.hp.com/go/openvms/doc
Start with the OpenVMS user's guide; that contains a reasonable explanation of the DCL syntax, including absolute, delta and combination time specifications.
The OpenVMS help files have directly relevant information. In current OpenVMS versions, HELP DATE will get you the core DCL constructs and examples. That's where the above text came from.
The Google web search engine is available at http://www.google.com, and can be used to access a wealth of information on DCL and DCL time and date syntax. The available Google site keyword (eg: site:h71000.www7.hp.com) can be used to narrow the search to specific hosts, too, targeting your query.
And as for the question:
--
$ dir/since="-:10:00"
%DIRECT-W-NOFILES, no files found
$ create x.x
^Z
$ dir/since="-:10:00"
Directory ddcu:[dir]
X.X;1
Total of 1 file.
$
$ HELP DATE
DATE_TIME
Delta
Delta time is an offset from the current time to a time in the
future. Delta time has the following format:
"+[dddd-][hh:mm:ss.cc]"
You can truncate delta time after the hour field. You can also
omit any of the fields after the hour field format as long as you
specify the punctuation marks.
---
Start with the OpenVMS user's guide; that contains a reasonable explanation of the DCL syntax, including absolute, delta and combination time specifications.
The OpenVMS help files have directly relevant information. In current OpenVMS versions, HELP DATE will get you the core DCL constructs and examples. That's where the above text came from.
The Google web search engine is available at http://www.google.com, and can be used to access a wealth of information on DCL and DCL time and date syntax. The available Google site keyword (eg: site:h71000.www7.hp.com) can be used to narrow the search to specific hosts, too, targeting your query.
And as for the question:
--
$ dir/since="-:10:00"
%DIRECT-W-NOFILES, no files found
$ create x.x
^Z
$ dir/since="-:10:00"
Directory ddcu:[dir]
X.X;1
Total of 1 file.
$
$ HELP DATE
DATE_TIME
Delta
Delta time is an offset from the current time to a time in the
future. Delta time has the following format:
"+[dddd-][hh:mm:ss.cc]"
You can truncate delta time after the hour field. You can also
omit any of the fields after the hour field format as long as you
specify the punctuation marks.
---
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP