The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
given a date,find the next date sakthi.abdullah UNIX for Advanced & Expert Users 6 11-11-2008 11:54 PM
Can I know find syntax to find given date files bache_gowda Shell Programming and Scripting 3 03-26-2008 06:37 AM
date issue-find prevoius date in a patricular format bsandeep_80 UNIX for Advanced & Expert Users 3 11-15-2007 08:42 PM
Find julian date for given corresponding date srikanthus2002 Shell Programming and Scripting 2 10-10-2006 09:33 PM
How to find Previous date and Coming date arunava_maity UNIX for Dummies Questions & Answers 2 05-24-2001 11:41 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-28-2005
purveshvora purveshvora is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 1
How to find out future date

Hi,

I am writing shell script in borne shell.

I want to know date-time after 8 hours.

Can you please guide me how can I gate datetime after 8 hours?

Regards,
Purvesh
  #2 (permalink)  
Old 09-28-2005
vino's Avatar
vino vino is online now Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
Look at datecalc
  #3 (permalink)  
Old 06-03-2009
alanp alanp is offline
Registered User
  
 

Join Date: May 2009
Posts: 11
date calculation

date -d "8 hours" will give you current date/time in 8 hours
date -d "8 days" will give you current date/time in 8 days
date -d "8 weeks" will give you current date/time in 8 weeks
and so on

use a "-" minus, to get post date/time.

You can use multiples such as "8 days 5 hours"
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:52 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0