Computing.Net > Forums > Programming > How to get last months date in KSH?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to get last months date in KSH?

Reply to Message Icon

Name: amitoverseas40
Date: August 24, 2005 at 04:30:38 Pacific
OS: Solaris
CPU/Ram: 500mb
Comment:

Is there a way to get last months date?

Like if I say :

echo "Amit P`date +"%Y_%m"` MY_TABLE" gives me
Amit P2005_08 MY_TABLE

How can I get last month..07.
Amit P2005_07 MY_TABLE ?




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: How to get last months date in KSH?

How to find yesterday's date in C www.computing.net/answers/programming/how-to-find-yesterdays-date-in-c/4421.html

How to get free disk space in win32 www.computing.net/answers/programming/how-to-get-free-disk-space-in-win32/10516.html

How to get WMP version in MAC??? www.computing.net/answers/programming/how-to-get-wmp-version-in-mac/203.html