- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Are there any date functions on server. Need to w...
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
02-18-2002 01:48 PM
02-18-2002 01:48 PM
jack...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 01:59 PM
02-18-2002 01:59 PM
Solutionhttp://unix.about.com/library/weekly/aa070901a.htm
She gives separate scripts for the yesterday, tomorrow, add days and subtract days.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 02:11 PM
02-18-2002 02:11 PM
Re: Are there any date functions on server. Need to write script to generate datestamp.
this file was posted by clay,
http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0x4bbed08cc06fd511abcd0090277a778c,00.txt
you can get this from this link below, Look at clay's comments
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3dbdd08cc06fd511abcd0090277a778c,00.html
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 03:19 PM
02-18-2002 03:19 PM
Re: Are there any date functions on server. Need to write script to generate datestamp.
I'ver attached my latest version and it should solve almost any problem you want.
e.g.
3 days previous
XDAY=$(caljd.sh $(caljd.sh -p 3))
5 days from now UNLESS that falls on a weekend then skip to the next day)
XDAY=$(caljd.sh $(caljd.sh -n 5 -x 0 -x 6))
Same as above except skip holidays.
XDAY=$(caljd.sh $(caljd.sh -n 5 -x 0 -x 6 -h))
Tomorrow in YYYY-MM-DD output format
XDAY=$(caljd.sh -S '-' -y) $(caljd.sh -n 1))
You can do a caljd.sh -u for full usage.
Enjoy, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 05:25 AM
02-19-2002 05:25 AM