Sponsored Content
Top Forums Shell Programming and Scripting Date within a timeframe 2 days ago Post 302421069 by freddie999 on Thursday 13th of May 2010 10:01:05 AM
Old 05-13-2010
that is correct
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Function 7 days ago

Please tell me how can I wirte a function to return the date 7 days ago by using calendar command? :confused: (2 Replies)
Discussion started by: LAY
2 Replies

2. UNIX for Dummies Questions & Answers

file was created before 15 days ago.

How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago? It has to be korn shell script. Thanks. (1 Reply)
Discussion started by: YoungBlood
1 Replies

3. Shell Programming and Scripting

Find the file from 15 days ago

How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago? It has to be korn shell script. Thanks. (2 Replies)
Discussion started by: YoungBlood
2 Replies

4. Shell Programming and Scripting

date for two days or 3 days ago

i need a script that can tell me the date 2 days ago or 3 days ago. please help (7 Replies)
Discussion started by: tomjones
7 Replies

5. Shell Programming and Scripting

how to get what date was 28 days ago of the current system date IN UNIX

Hi, Anybody knows how to get what date was 28 days ago of the current system date through UNIX script. Ex : - If today is 28th Mar 2010 then I have to delete the files which arrived on 1st Mar 2010, (15 Replies)
Discussion started by: kandi.reddy
15 Replies

6. UNIX for Dummies Questions & Answers

Clarification on '1 days ago' in date command [Found answer, posted within]

I know the topic of getting yesterday's date has been covered ad nauseum, but I just want to be clear on something. I recently started using the command date --date='1 days ago' '+%m/%d/%y' to get yesterday's date and it's been working great. I just want to be certain that it is going to... (1 Reply)
Discussion started by: DeCoTwc
1 Replies

7. UNIX for Advanced & Expert Users

N days ago

Hi, the following gives today $(date '+%d%m%y') For example 210111 for today (21 of january 2011). How can I have n days ego ? For example 160111 for 5 days ego ? thank you. (3 Replies)
Discussion started by: big123456
3 Replies

8. Shell Programming and Scripting

Calculating 7 days ago date for the given Argument

Hi I have shell script and I am facing the below issue to integrate the date calculation to the the script. If I give the $1 as the date(20110701) then I need to get the 7 days ago date for the same format.(20110624). At first I thought its a simple one to handle and I did a search in the... (10 Replies)
Discussion started by: filter
10 Replies

9. UNIX for Beginners Questions & Answers

How to find a file that's modified more than 2 days ago but less than 5 days ago?

How to find a file that's modified more than 2 days ago but was modified less than 5 days ago by use of any Linux utility ? (4 Replies)
Discussion started by: abdulbadii
4 Replies

10. Shell Programming and Scripting

Get a given date and subtract it to 5 days ago

Hi all, I have been researching to obtain SSL certification expiry for most of our webistes. For some cases, some hosts where not directly accessible so i finally got a solution working with curl using my proxy. This lists the expiry date which i'm finally looking for. # curl --proxy... (4 Replies)
Discussion started by: nms
4 Replies
SCALBN(3)						   BSD Library Functions Manual 						 SCALBN(3)

NAME
scalbn, scalbnf, scalbnl -- exponent using FLT_RADIX LIBRARY
Math Library (libm, -lm) SYNOPSIS
#include <math.h> double scalbn(double x, int n); float scalbnf(float x, int n); long double scalbnl(long double x, int n); DESCRIPTION
The scalbn(), scalbnf(), and scalbnl() functions compute x * r^n, where r is the radix of the machine's floating point arithmetic, defined by the FLT_RADIX constant in <float.h>. The rationale is efficiency; r^n is not computed explicitly. RETURN VALUES
As described above, upon successful completion, the described functions return the exponent computed using FLT_RADIX. Otherwise the follow- ing may occur: 1. When the result would cause an overflow, a range error occurs and +-HUGE_VAL, +-HUGE_VALF, or +-HUGE_VALL is returned according to the sign of x and the return type of the corresponding function. 2. When the correct value would cause an underflow and it is not representable, a range error occurs and either 0.0 or an implementa- tion-defined value is returned. When an underflow occurs but the correct value is representable, a range error occurs but the correct value is returned. 3. If x is +-0 or +-Inf, x is returned. Likewise, if n is zero, x is returned. If x is NaN, NaN is returned. SEE ALSO
exp(3), frexp(3), ldexp(3), math(3) STANDARDS
The described functions conform to ISO/IEC 9899:1999 (``ISO C99''). BSD
September 18, 2011 BSD
All times are GMT -4. The time now is 11:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy